diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-06 10:54:37 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-13 14:23:39 +0100 |
commit | 2efe8aad38b83e0ec7f21b836f4e503045990213 (patch) | |
tree | 8ee6f6ea0f802687e27c7c5797154369206c109f /lib/public/WorkflowEngine/IOperation.php | |
parent | d9204f61ead5f5c95cbef21a5d6fc40ac2d1861a (diff) | |
download | nextcloud-server-2efe8aad38b83e0ec7f21b836f4e503045990213.tar.gz nextcloud-server-2efe8aad38b83e0ec7f21b836f4e503045990213.zip |
relax dependency on GenericEvent, instead stay compatible with old events
* also fixes tagging events
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine/IOperation.php')
-rw-r--r-- | lib/public/WorkflowEngine/IOperation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/WorkflowEngine/IOperation.php b/lib/public/WorkflowEngine/IOperation.php index d16fd618a84..d01c6021c5f 100644 --- a/lib/public/WorkflowEngine/IOperation.php +++ b/lib/public/WorkflowEngine/IOperation.php @@ -23,7 +23,7 @@ namespace OCP\WorkflowEngine; -use Symfony\Component\EventDispatcher\GenericEvent; +use OCP\EventDispatcher\Event; /** * Interface IOperation @@ -99,5 +99,5 @@ interface IOperation { * * @since 18.0.0 */ - public function onEvent(string $eventName, GenericEvent $event, IRuleMatcher $ruleMatcher): void; + public function onEvent(string $eventName, Event $event, IRuleMatcher $ruleMatcher): void; } |