]> source.dussan.org Git - nextcloud-server.git/commitdiff
Deprecate \OCP\EventDispatcher\IEventDispatcher::dispatch 23724/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 27 Oct 2020 14:43:07 +0000 (15:43 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 27 Oct 2020 14:43:07 +0000 (15:43 +0100)
As discussed in
https://help.nextcloud.com/t/deprecation-of-ieventdispatcher-dispatch/95381

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/public/EventDispatcher/IEventDispatcher.php

index 471447e4b9f819b1d5ffa5613e41684caf5621f5..095178f16e1cbefa0670dd5ba147be5d4c5c1b02 100644 (file)
@@ -75,6 +75,7 @@ interface IEventDispatcher {
         * @psalm-param T $event
         *
         * @since 17.0.0
+        * @deprecated 21.0.0 use \OCP\EventDispatcher\IEventDispatcher::dispatchTyped
         */
        public function dispatch(string $eventName, Event $event): void;