diff --git a/lib/public/EventDispatcher/IEventDispatcher.php b/lib/public/EventDispatcher/IEventDispatcher.php index 471447e4b9f..095178f16e1 100644 --- a/lib/public/EventDispatcher/IEventDispatcher.php +++ b/lib/public/EventDispatcher/IEventDispatcher.php @@ -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;