Skip to content

Commit

Permalink
push method in Event facade also get object as second parameter (#42008)
Browse files Browse the repository at this point in the history
  • Loading branch information
SaeedNikmehr authored Apr 16, 2022
1 parent bd92c60 commit 6463e1c
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 @@ -22,7 +22,7 @@
* @method static void forget(string $event)
* @method static void forgetPushed()
* @method static void listen(\Closure|string|array $events, \Closure|string|array $listener = null)
* @method static void push(string $event, array $payload = [])
* @method static void push(string $event, object|array $payload = [])
* @method static void subscribe(object|string $subscriber)
*
* @see \Illuminate\Events\Dispatcher
Expand Down

0 comments on commit 6463e1c

Please sign in to comment.