aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_reminders
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-01-29 17:11:54 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-01-30 10:57:15 +0100
commit8bcc2d352e3ed6a5f08b75991ab8f6fd53734f9f (patch)
treed455f9790694f0c4500e945db78e32294077e70e /apps/files_reminders
parent063c051cdcfbaf1f623337f6f1239438b35d094c (diff)
downloadnextcloud-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/files_reminders')
-rw-r--r--apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php1
-rw-r--r--apps/files_reminders/lib/Listener/NodeDeletedListener.php1
-rw-r--r--apps/files_reminders/lib/Listener/UserDeletedListener.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php
index f95b3da3d61..ab66b6bc7a0 100644
--- a/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php
+++ b/apps/files_reminders/lib/Listener/LoadAdditionalScriptsListener.php
@@ -33,6 +33,7 @@ use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Util;
+/** @template-implements IEventListener<LoadAdditionalScriptsEvent> */
class LoadAdditionalScriptsListener implements IEventListener {
public function __construct(
private IAppManager $appManager,
diff --git a/apps/files_reminders/lib/Listener/NodeDeletedListener.php b/apps/files_reminders/lib/Listener/NodeDeletedListener.php
index 944ce2cbe36..ba1447a9332 100644
--- a/apps/files_reminders/lib/Listener/NodeDeletedListener.php
+++ b/apps/files_reminders/lib/Listener/NodeDeletedListener.php
@@ -31,6 +31,7 @@ use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Files\Events\Node\NodeDeletedEvent;
+/** @template-implements IEventListener<NodeDeletedEvent> */
class NodeDeletedListener implements IEventListener {
public function __construct(
private ReminderService $reminderService,
diff --git a/apps/files_reminders/lib/Listener/UserDeletedListener.php b/apps/files_reminders/lib/Listener/UserDeletedListener.php
index 4e54a6d9946..160fed10765 100644
--- a/apps/files_reminders/lib/Listener/UserDeletedListener.php
+++ b/apps/files_reminders/lib/Listener/UserDeletedListener.php
@@ -31,6 +31,7 @@ use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\User\Events\UserDeletedEvent;
+/** @template-implements IEventListener<UserDeletedEvent> */
class UserDeletedListener implements IEventListener {
public function __construct(
private ReminderService $reminderService,