Skip to content

Commit 4265a56

Browse files
committed
Fix typehint
1 parent 390895d commit 4265a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Event/EventDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function listen($eventNames, callable $callback)
8080
}
8181

8282
/**
83-
* @param string $eventName
83+
* @param string|array $eventName
8484
* @param callable $callback
8585
*/
8686
private function attachListener($eventName, callable $callback)

0 commit comments

Comments
 (0)