From 8bcc2d352e3ed6a5f08b75991ab8f6fd53734f9f Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 29 Jan 2024 17:11:54 +0100 Subject: chore: Fix missing template parameter for IEventListener MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php | 1 + apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php | 1 + apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php | 1 + apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php | 1 + apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php | 1 + apps/twofactor_backupcodes/lib/Listener/UserDeleted.php | 1 + 6 files changed, 6 insertions(+) (limited to 'apps/twofactor_backupcodes') diff --git a/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php b/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php index dd1fd391b68..29b0da3cb0b 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php +++ b/apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php @@ -32,6 +32,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use Psr\Log\LoggerInterface; +/** @template-implements IEventListener */ class ActivityPublisher implements IEventListener { public function __construct( private IManager $activityManager, diff --git a/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php b/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php index 960f435a4fd..c6e12103bc0 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php +++ b/apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php @@ -31,6 +31,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\Notification\IManager; +/** @template-implements IEventListener */ class ClearNotifications implements IEventListener { /** @var IManager */ diff --git a/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php b/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php index 77d6a15a722..7dbfbbc0b5d 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php +++ b/apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php @@ -33,6 +33,7 @@ use OCP\BackgroundJob\IJobList; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; +/** @template-implements IEventListener */ class ProviderDisabled implements IEventListener { /** @var IRegistry */ diff --git a/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php b/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php index 4645b793630..f76c34669b2 100644 --- a/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php +++ b/apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php @@ -33,6 +33,7 @@ use OCP\BackgroundJob\IJobList; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; +/** @template-implements IEventListener */ class ProviderEnabled implements IEventListener { /** @var IRegistry */ diff --git a/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php b/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php index d47430095c9..d8cbb4974bd 100644 --- a/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php +++ b/apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php @@ -31,6 +31,7 @@ use OCP\Authentication\TwoFactorAuth\IRegistry; use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; +/** @template-implements IEventListener */ class RegistryUpdater implements IEventListener { /** @var IRegistry */ diff --git a/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php b/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php index f488e48695a..d23ec3031df 100644 --- a/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php +++ b/apps/twofactor_backupcodes/lib/Listener/UserDeleted.php @@ -30,6 +30,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\User\Events\UserDeletedEvent; +/** @template-implements IEventListener */ class UserDeleted implements IEventListener { /** @var BackupCodeMapper */ -- cgit v1.2.3