Merge pull request #23724 from nextcloud/techdebt/deprecate-ieventdispatcher-dispatch

Deprecate \OCP\EventDispatcher\IEventDispatcher::dispatch
This commit is contained in:
kesselb 2020-10-27 17:26:55 +01:00 committed by GitHub
commit a3ae8ee48c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;