summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-12-16 13:08:06 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-12-16 13:08:06 +0100
commit2a87d67b7bfa9a7eb6d90607d36f2a59f16a2fc1 (patch)
treeca6b9ece50af3b85aa14dbc9d6e66469f15449e7 /lib
parentecd3ce8d92e726dbfe9ddbd504f53f6c2d3c3d47 (diff)
adjust to server changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Flow/Operation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Flow/Operation.php b/lib/Flow/Operation.php
index 381c21170..5ed95dba1 100644
--- a/lib/Flow/Operation.php
+++ b/lib/Flow/Operation.php
@@ -32,6 +32,7 @@ use OCA\Talk\Manager as TalkManager;
use OCA\Talk\Participant;
use OCA\Talk\Room;
use OCP\EventDispatcher\Event;
+use OCP\EventDispatcher\IEventDispatcher;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\IUser;
@@ -43,7 +44,6 @@ use OCP\WorkflowEngine\IManager as FlowManager;
use OCP\WorkflowEngine\IOperation;
use OCP\WorkflowEngine\IRuleMatcher;
use Symfony\Component\EventDispatcher\GenericEvent;
-use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
use UnexpectedValueException;
class Operation implements IOperation {
@@ -80,7 +80,7 @@ class Operation implements IOperation {
$this->chatManager = $chatManager;
}
- public static function register(EventDispatcherInterface $dispatcher): void {
+ public static function register(IEventDispatcher $dispatcher): void {
$dispatcher->addListener(FlowManager::EVENT_NAME_REG_OPERATION, function (GenericEvent $event) {
$operation = \OC::$server->query(Operation::class);
$event->getSubject()->registerOperation($operation);