aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-19 21:56:34 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-25 11:19:26 +0200
commit77bc6c32d8b7cfe65f6a0e4ba303997a22f075d7 (patch)
tree30c9d215b79d0c21ba7ecac0b5fb94865fec2863 /lib/public
parent43ab741f9cc252ac48612f586b0d545c0c253e5c (diff)
downloadnextcloud-server-77bc6c32d8b7cfe65f6a0e4ba303997a22f075d7.tar.gz
nextcloud-server-77bc6c32d8b7cfe65f6a0e4ba303997a22f075d7.zip
fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/SystemTag/SystemTagsEntityEvent.php12
1 files changed, 4 insertions, 8 deletions
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 = [];
}