simplify EventDispatcher listeners typehint

pull/722/head
fadrian06 3 days ago
parent 4c2a08c3e6
commit 3066c5dcc4

@ -8,7 +8,7 @@ class EventDispatcher
{ {
private static ?self $instance = null; private static ?self $instance = null;
/** @var array<string, array<int, callable>> */ /** @var array<string, callable[]> */
protected array $listeners = []; protected array $listeners = [];
/** /**

Loading…
Cancel
Save