Skip to content

Commit adf93f8

Browse files
authored
[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.
1 parent 796d8e7 commit adf93f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Support/Facades/Event.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* @method static void assertDispatched(string|\Closure $event, callable|int $callback = null)
1717
* @method static void assertDispatchedTimes(string $event, int $times = 1)
1818
* @method static void assertNotDispatched(string|\Closure $event, callable|int $callback = null)
19+
* @method static void assertListening(string $expectedEvent, string expectedListener)
1920
* @method static void flush(string $event)
2021
* @method static void forget(string $event)
2122
* @method static void forgetPushed()

0 commit comments

Comments
 (0)