aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming
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/theming
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/theming')
-rw-r--r--apps/theming/lib/Listener/BeforePreferenceListener.php1
-rw-r--r--apps/theming/lib/Listener/BeforeTemplateRenderedListener.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/Listener/BeforePreferenceListener.php b/apps/theming/lib/Listener/BeforePreferenceListener.php
index 5eaf84d5226..47b7d3fb6ff 100644
--- a/apps/theming/lib/Listener/BeforePreferenceListener.php
+++ b/apps/theming/lib/Listener/BeforePreferenceListener.php
@@ -32,6 +32,7 @@ use OCP\Config\BeforePreferenceSetEvent;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
+/** @template-implements IEventListener<BeforePreferenceDeletedEvent|BeforePreferenceSetEvent> */
class BeforePreferenceListener implements IEventListener {
public function __construct(
private IAppManager $appManager,
diff --git a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php
index ccc701f74bc..1f65766f757 100644
--- a/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php
+++ b/apps/theming/lib/Listener/BeforeTemplateRenderedListener.php
@@ -38,6 +38,7 @@ use OCP\IConfig;
use OCP\IUserSession;
use Psr\Container\ContainerInterface;
+/** @template-implements IEventListener<BeforeTemplateRenderedEvent> */
class BeforeTemplateRenderedListener implements IEventListener {
private IInitialState $initialState;