mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #23724 from nextcloud/techdebt/deprecate-ieventdispatcher-dispatch
Deprecate \OCP\EventDispatcher\IEventDispatcher::dispatch
This commit is contained in:
commit
a3ae8ee48c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue