(Grav GitSync) Automatic Commit from smokephil

This commit is contained in:
smokephil 2024-04-30 21:27:37 +02:00 committed by GitSync
parent ab8f386766
commit 54730a9480
251 changed files with 5008 additions and 8945 deletions

View file

@ -50,7 +50,7 @@ interface EventDispatcherInterface extends ContractsEventDispatcherInterface
*
* @return array<callable[]|callable>
*/
public function getListeners(string $eventName = null);
public function getListeners(?string $eventName = null);
/**
* Gets the listener priority for a specific event.
@ -66,5 +66,5 @@ interface EventDispatcherInterface extends ContractsEventDispatcherInterface
*
* @return bool
*/
public function hasListeners(string $eventName = null);
public function hasListeners(?string $eventName = null);
}