fix many PHP 8.4 compatibility issues
This commit is contained in:
@ -35,7 +35,7 @@ interface EventDispatcherInterface
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function dispatch($eventName, Event $event = null);
|
||||
public function dispatch($eventName, ?Event $event = null);
|
||||
|
||||
/**
|
||||
* Adds an event listener that listens on the specified events.
|
||||
|
Reference in New Issue
Block a user