aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-07-26 17:29:22 +0200
committerGitHub <noreply@github.com>2023-07-26 17:29:22 +0200
commitb76b0bbc1ca8226cd8b4ca9dbab2649c2275e7bd (patch)
tree00cebb57990f6a379151ba45c9780ac7d83bde15 /lib/public
parent19e7704c85d0e8aa1c8ea2ca7e8bf47d549ec0e2 (diff)
parent77bc6c32d8b7cfe65f6a0e4ba303997a22f075d7 (diff)
downloadnextcloud-server-b76b0bbc1ca8226cd8b4ca9dbab2649c2275e7bd.tar.gz
nextcloud-server-b76b0bbc1ca8226cd8b4ca9dbab2649c2275e7bd.zip
Merge pull request #39485 from nextcloud/bugfix/noid/move-remaining-easy-usages-to-IEventDispatcher
fix(dispatcher): Move remaining simple cases in apps/ folder to IEven…
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 = [];
}