diff --git a/lib/Listener/LoadAdditionalScriptsListener.php b/lib/Listener/LoadAdditionalScriptsListener.php index c27531ab..f6388e28 100644 --- a/lib/Listener/LoadAdditionalScriptsListener.php +++ b/lib/Listener/LoadAdditionalScriptsListener.php @@ -26,11 +26,12 @@ namespace OCA\Guests\Listener; +use OCA\Files\Event\LoadAdditionalScriptsEvent; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; /** - * @template-implements IEventListener + * @template-implements IEventListener */ class LoadAdditionalScriptsListener implements IEventListener { public function handle(Event $event): void { diff --git a/tests/stub.php b/tests/stub.php index 80449d48..5b756e05 100644 --- a/tests/stub.php +++ b/tests/stub.php @@ -825,3 +825,8 @@ public function transfer(IUser $sourceUser, } } } + +namespace OCA\Files\Event { + class LoadAdditionalScriptsEvent extends OCP\EventDispatcher\Event {} + } +}