From da08199a96e22ef84dca2d81811a2babf96127d7 Mon Sep 17 00:00:00 2001 From: Steff Missot Date: Wed, 11 Aug 2021 23:34:37 +0200 Subject: [PATCH] Fix phpdoc of listener param on dispatcher.makeListener --- src/Illuminate/Events/Dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Events/Dispatcher.php b/src/Illuminate/Events/Dispatcher.php index b5bccfa58a6d..bd7532ea3ea7 100755 --- a/src/Illuminate/Events/Dispatcher.php +++ b/src/Illuminate/Events/Dispatcher.php @@ -370,7 +370,7 @@ protected function addInterfaceListeners($eventName, array $listeners = []) /** * Register an event listener with the dispatcher. * - * @param \Closure|string $listener + * @param \Closure|string|array $listener * @param bool $wildcard * @return \Closure */