Skip to content

Commit

Permalink
psalm fix
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Nov 10, 2023
1 parent c96074a commit 7c210ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Listener/LoadAdditionalScriptsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@

namespace OCA\Guests\Listener;

use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;

/**
* @template-implements IEventListener<Event>
* @template-implements IEventListener<LoadAdditionalScriptsEvent>
*/
class LoadAdditionalScriptsListener implements IEventListener {
public function handle(Event $event): void {
Expand Down
4 changes: 4 additions & 0 deletions tests/stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -825,3 +825,7 @@ public function transfer(IUser $sourceUser,
}
}
}

namespace OCA\Files\Event {
class LoadAdditionalScriptsEvent extends \OCP\EventDispatcher\Event {}
}

0 comments on commit 7c210ec

Please sign in to comment.