aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
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/user_status/lib
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/user_status/lib')
-rw-r--r--apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php1
-rw-r--r--apps/user_status/lib/Listener/UserDeletedListener.php1
-rw-r--r--apps/user_status/lib/Listener/UserLiveStatusListener.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php
index daf7265d988..8cfbea4091d 100644
--- a/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php
+++ b/apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php
@@ -37,6 +37,7 @@ use OCP\EventDispatcher\IEventListener;
use OCP\IInitialStateService;
use OCP\IUserSession;
+/** @template-implements IEventListener<BeforeTemplateRenderedEvent> */
class BeforeTemplateRenderedListener implements IEventListener {
/** @var ProfileManager */
diff --git a/apps/user_status/lib/Listener/UserDeletedListener.php b/apps/user_status/lib/Listener/UserDeletedListener.php
index 2840ab0ef39..8a7b889c1dc 100644
--- a/apps/user_status/lib/Listener/UserDeletedListener.php
+++ b/apps/user_status/lib/Listener/UserDeletedListener.php
@@ -34,6 +34,7 @@ use OCP\User\Events\UserDeletedEvent;
* Class UserDeletedListener
*
* @package OCA\UserStatus\Listener
+ * @template-implements IEventListener<UserDeletedEvent>
*/
class UserDeletedListener implements IEventListener {
diff --git a/apps/user_status/lib/Listener/UserLiveStatusListener.php b/apps/user_status/lib/Listener/UserLiveStatusListener.php
index d8485a6d0cb..41ccbfa6893 100644
--- a/apps/user_status/lib/Listener/UserLiveStatusListener.php
+++ b/apps/user_status/lib/Listener/UserLiveStatusListener.php
@@ -43,6 +43,7 @@ use Psr\Log\LoggerInterface;
* Class UserDeletedListener
*
* @package OCA\UserStatus\Listener
+ * @template-implements IEventListener<UserLiveStatusEvent>
*/
class UserLiveStatusListener implements IEventListener {
private UserStatusMapper $mapper;