mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-10 00:43:50 +09:00
reinstall dependencies on php 7.4
This commit is contained in:
@@ -21,13 +21,11 @@ interface EventDispatcherInterface extends PsrEventDispatcherInterface
|
||||
/**
|
||||
* Dispatches an event to all registered listeners.
|
||||
*
|
||||
* @template T of object
|
||||
*
|
||||
* @param T $event The event to pass to the event handlers/listeners
|
||||
* @param object $event The event to pass to the event handlers/listeners
|
||||
* @param string|null $eventName The name of the event to dispatch. If not supplied,
|
||||
* the class of $event should be used instead.
|
||||
*
|
||||
* @return T The passed $event MUST be returned
|
||||
* @return object The passed $event MUST be returned
|
||||
*/
|
||||
public function dispatch(object $event, string $eventName = null): object;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user