Skip to content

Commit

Permalink
Fix Dispatcher::until return type (#47585)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neol3108 authored Jun 27, 2023
1 parent c4d014e commit a12d0de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function subscribe($subscriber);
*
* @param string|object $event
* @param mixed $payload
* @return array|null
* @return mixed
*/
public function until($event, $payload = []);

Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ protected function resolveSubscriber($subscriber)
*
* @param string|object $event
* @param mixed $payload
* @return array|null
* @return mixed
*/
public function until($event, $payload = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Events/NullDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function push($event, $payload = [])
*
* @param string|object $event
* @param mixed $payload
* @return array|null
* @return mixed
*/
public function until($event, $payload = [])
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Testing/Fakes/EventFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function forgetPushed()
*
* @param string|object $event
* @param mixed $payload
* @return array|null
* @return mixed
*/
public function until($event, $payload = [])
{
Expand Down

0 comments on commit a12d0de

Please sign in to comment.