Skip to content

Commit

Permalink
[8.x] Add assertListening To Comment Section For IDEs Autocomplete (l…
Browse files Browse the repository at this point in the history
…aravel#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.
  • Loading branch information
reziamini authored and victorvilella committed Oct 12, 2021
1 parent 8c6fdbb commit c4f131e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Support/Facades/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c4f131e

Please sign in to comment.