Skip to content

Commit

Permalink
[10.x] Fix docblocks of the dispatchable trait (#47921)
Browse files Browse the repository at this point in the history
* Fix docblocks of the dispatchable trait

* Update src/Illuminate/Foundation/Events/Dispatchable.php

Co-authored-by: Nuno Maduro <enunomaduro@gmail.com>

* Update src/Illuminate/Foundation/Events/Dispatchable.php

Co-authored-by: Nuno Maduro <enunomaduro@gmail.com>

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Co-authored-by: Nuno Maduro <enunomaduro@gmail.com>
  • Loading branch information
3 people authored Aug 1, 2023
1 parent a0e3f5a commit 8e98688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Foundation/Events/Dispatchable.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trait Dispatchable
/**
* Dispatch the event with the given arguments.
*
* @return void
* @return mixed
*/
public static function dispatch()
{
Expand All @@ -19,7 +19,7 @@ public static function dispatch()
*
* @param bool $boolean
* @param mixed ...$arguments
* @return void
* @return mixed
*/
public static function dispatchIf($boolean, ...$arguments)
{
Expand All @@ -33,7 +33,7 @@ public static function dispatchIf($boolean, ...$arguments)
*
* @param bool $boolean
* @param mixed ...$arguments
* @return void
* @return mixed
*/
public static function dispatchUnless($boolean, ...$arguments)
{
Expand Down

0 comments on commit 8e98688

Please sign in to comment.