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/files_external | |
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/files_external')
4 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_external/lib/Listener/GroupDeletedListener.php b/apps/files_external/lib/Listener/GroupDeletedListener.php index d274f35d9cf..89ee782f044 100644 --- a/apps/files_external/lib/Listener/GroupDeletedListener.php +++ b/apps/files_external/lib/Listener/GroupDeletedListener.php @@ -28,6 +28,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\Group\Events\GroupDeletedEvent; +/** @template-implements IEventListener<GroupDeletedEvent> */ class GroupDeletedListener implements IEventListener { /** @var DBConfigService */ private $config; diff --git a/apps/files_external/lib/Listener/LoadAdditionalListener.php b/apps/files_external/lib/Listener/LoadAdditionalListener.php index bca9ce11cf6..d164aeb37cb 100644 --- a/apps/files_external/lib/Listener/LoadAdditionalListener.php +++ b/apps/files_external/lib/Listener/LoadAdditionalListener.php @@ -34,7 +34,7 @@ use OCP\IConfig; use OCP\Util; /** - * @template-implements IEventListener<Event|LoadAdditionalScriptsEvent> + * @template-implements IEventListener<LoadAdditionalScriptsEvent> */ class LoadAdditionalListener implements IEventListener { diff --git a/apps/files_external/lib/Listener/StorePasswordListener.php b/apps/files_external/lib/Listener/StorePasswordListener.php index f5820eff52c..b9020d9b499 100644 --- a/apps/files_external/lib/Listener/StorePasswordListener.php +++ b/apps/files_external/lib/Listener/StorePasswordListener.php @@ -33,6 +33,7 @@ use OCP\Security\ICredentialsManager; use OCP\User\Events\PasswordUpdatedEvent; use OCP\User\Events\UserLoggedInEvent; +/** @template-implements IEventListener<PasswordUpdatedEvent|UserLoggedInEvent> */ class StorePasswordListener implements IEventListener { /** @var ICredentialsManager */ private $credentialsManager; diff --git a/apps/files_external/lib/Listener/UserDeletedListener.php b/apps/files_external/lib/Listener/UserDeletedListener.php index 1417119b317..3b6eaac206b 100644 --- a/apps/files_external/lib/Listener/UserDeletedListener.php +++ b/apps/files_external/lib/Listener/UserDeletedListener.php @@ -28,6 +28,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\User\Events\UserDeletedEvent; +/** @template-implements IEventListener<UserDeletedEvent> */ class UserDeletedListener implements IEventListener { /** @var DBConfigService */ private $config; |