Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust to interface change of IOperation
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Nov 18, 2019
commit 6251445c483ecbee761a25db59a18d9f34121975
4 changes: 2 additions & 2 deletions lib/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@


use OCA\WorkflowEngine\Entity\File;
use OCP\EventDispatcher\Event;
use OCP\Files\ForbiddenException;
use OCP\Files\Storage\IStorage;
use OCP\IL10N;
Expand All @@ -31,7 +32,6 @@
use OCP\WorkflowEngine\IManager;
use OCP\WorkflowEngine\IRuleMatcher;
use OCP\WorkflowEngine\ISpecificOperation;
use Symfony\Component\EventDispatcher\GenericEvent;

class Operation implements IComplexOperation, ISpecificOperation {
/** @var IManager */
Expand Down Expand Up @@ -260,7 +260,7 @@ public function getTriggerHint(): string {
return $this->l->t('File is accessed');
}

public function onEvent(string $eventName, GenericEvent $event, IRuleMatcher $ruleMatcher): void {
public function onEvent(string $eventName, Event $event, IRuleMatcher $ruleMatcher): void {
// Noop
}
}