From 77bc6c32d8b7cfe65f6a0e4ba303997a22f075d7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 19 Jul 2023 21:56:34 +0200 Subject: fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher Signed-off-by: Joas Schilling --- lib/public/SystemTag/SystemTagsEntityEvent.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'lib/public') diff --git a/lib/public/SystemTag/SystemTagsEntityEvent.php b/lib/public/SystemTag/SystemTagsEntityEvent.php index 4360d924c23..0ce679a3a43 100644 --- a/lib/public/SystemTag/SystemTagsEntityEvent.php +++ b/lib/public/SystemTag/SystemTagsEntityEvent.php @@ -33,26 +33,22 @@ use OCP\EventDispatcher\Event; * Class SystemTagsEntityEvent * * @since 9.1.0 + * @since 28.0.0 Dispatched as a typed event */ class SystemTagsEntityEvent extends Event { /** - * @deprecated 22.0.0 + * @deprecated 22.0.0 Listen to the typed event instead */ public const EVENT_ENTITY = 'OCP\SystemTag\ISystemTagManager::registerEntity'; - /** @var string */ - protected $event; /** @var \Closure[] */ protected $collections; /** - * SystemTagsEntityEvent constructor. - * - * @param string $event * @since 9.1.0 */ - public function __construct(string $event) { - $this->event = $event; + public function __construct() { + parent::__construct(); $this->collections = []; } -- cgit v1.2.3