From 08c955de34b3a9e8e7ca62ee62ef5a427d227e5e Mon Sep 17 00:00:00 2001 From: CharlesBilbo Date: Wed, 3 Aug 2022 08:42:23 -0500 Subject: [PATCH] add union type for expected listener (#43522) Co-authored-by: charlesbilbo --- src/Illuminate/Support/Facades/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index 86fd00f04e7c..97d4224279e8 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -17,7 +17,7 @@ * @method static void assertDispatchedTimes(string $event, int $times = 1) * @method static void assertNotDispatched(string|\Closure $event, callable|int $callback = null) * @method static void assertNothingDispatched() - * @method static void assertListening(string $expectedEvent, string $expectedListener) + * @method static void assertListening(string $expectedEvent, string|array $expectedListener) * @method static void flush(string $event) * @method static void forget(string $event) * @method static void forgetPushed()