From c4f131ea993e9ca884e29a73c30ab5ba715c43b2 Mon Sep 17 00:00:00 2001 From: Reza Amini Date: Sun, 22 Aug 2021 22:24:36 +0430 Subject: [PATCH] [8.x] Add assertListening To Comment Section For IDEs Autocomplete (#38488) Now we won't be able to use assertListening in IDEs autocomplete. With this change, we will be able to use this method with autocomplete. --- src/Illuminate/Support/Facades/Event.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Support/Facades/Event.php b/src/Illuminate/Support/Facades/Event.php index 7262f626d0d2..b8b9c2f0168f 100755 --- a/src/Illuminate/Support/Facades/Event.php +++ b/src/Illuminate/Support/Facades/Event.php @@ -16,6 +16,7 @@ * @method static void assertDispatched(string|\Closure $event, callable|int $callback = null) * @method static void assertDispatchedTimes(string $event, int $times = 1) * @method static void assertNotDispatched(string|\Closure $event, callable|int $callback = null) + * @method static void assertListening(string $expectedEvent, string expectedListener) * @method static void flush(string $event) * @method static void forget(string $event) * @method static void forgetPushed()