Skip to content

Commit eb4eca9

Browse files
authored
Fix phpdoc of listener param on dispatcher.makeListener (#38350)
1 parent a3658c9 commit eb4eca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Events/Dispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ protected function addInterfaceListeners($eventName, array $listeners = [])
370370
/**
371371
* Register an event listener with the dispatcher.
372372
*
373-
* @param \Closure|string $listener
373+
* @param \Closure|string|array $listener
374374
* @param bool $wildcard
375375
* @return \Closure
376376
*/

0 commit comments

Comments
 (0)