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/admin_audit | |
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/admin_audit')
-rw-r--r-- | apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php b/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php index 3f91c0c2731..737afeeaba2 100644 --- a/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php +++ b/apps/admin_audit/lib/Listener/CriticalActionPerformedEventListener.php @@ -30,6 +30,7 @@ use OCP\EventDispatcher\Event; use OCP\EventDispatcher\IEventListener; use OCP\Log\Audit\CriticalActionPerformedEvent; +/** @template-implements IEventListener<CriticalActionPerformedEvent> */ class CriticalActionPerformedEventListener extends Action implements IEventListener { public function handle(Event $event): void { if (!($event instanceof CriticalActionPerformedEvent)) { |