Skip to content

Commit

Permalink
add union type for expected listener (laravel#43522)
Browse files Browse the repository at this point in the history
Co-authored-by: charlesbilbo <c.bilbo@rxmg.com>
  • Loading branch information
2 people authored and Ken committed Aug 9, 2022
1 parent 1a1e173 commit 08c955d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 08c955d

Please sign in to comment.