diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-29 17:11:54 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-01-30 10:57:15 +0100 |
commit | 8bcc2d352e3ed6a5f08b75991ab8f6fd53734f9f (patch) | |
tree | d455f9790694f0c4500e945db78e32294077e70e /apps/comments | |
parent | 063c051cdcfbaf1f623337f6f1239438b35d094c (diff) | |
download | nextcloud-server-8bcc2d352e3ed6a5f08b75991ab8f6fd53734f9f.tar.gz nextcloud-server-8bcc2d352e3ed6a5f08b75991ab8f6fd53734f9f.zip |
chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/lib/Listener/CommentsEntityEventListener.php | 1 | ||||
-rw-r--r-- | apps/comments/lib/Listener/LoadAdditionalScripts.php | 1 | ||||
-rw-r--r-- | apps/comments/lib/Listener/LoadSidebarScripts.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/comments/lib/Listener/CommentsEntityEventListener.php b/apps/comments/lib/Listener/CommentsEntityEventListener.php index 38604345f2f..3afd2b361b8 100644 --- a/apps/comments/lib/Listener/CommentsEntityEventListener.php +++ b/apps/comments/lib/Listener/CommentsEntityEventListener.php @@ -30,6 +30,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\Files\IRootFolder; +/** @template-implements IEventListener<CommentsEntityEvent> */ class CommentsEntityEventListener implements IEventListener { public function __construct( private IRootFolder $rootFolder, diff --git a/apps/comments/lib/Listener/LoadAdditionalScripts.php b/apps/comments/lib/Listener/LoadAdditionalScripts.php index e37b28cfae5..614e8e2a6a7 100644 --- a/apps/comments/lib/Listener/LoadAdditionalScripts.php +++ b/apps/comments/lib/Listener/LoadAdditionalScripts.php @@ -33,6 +33,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\Util; +/** @template-implements IEventListener<LoadAdditionalScriptsEvent> */ class LoadAdditionalScripts implements IEventListener { public function handle(Event $event): void { if (!($event instanceof LoadAdditionalScriptsEvent)) { diff --git a/apps/comments/lib/Listener/LoadSidebarScripts.php b/apps/comments/lib/Listener/LoadSidebarScripts.php index db1f2dc86f7..1e2864728a2 100644 --- a/apps/comments/lib/Listener/LoadSidebarScripts.php +++ b/apps/comments/lib/Listener/LoadSidebarScripts.php @@ -35,6 +35,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\Util; +/** @template-implements IEventListener<LoadSidebar> */ class LoadSidebarScripts implements IEventListener { public function __construct( private ICommentsManager $commentsManager, |