Skip to content

Commit 8e98688

Browse files
imanghafoori1taylorotwellnunomaduro
authored
[10.x] Fix docblocks of the dispatchable trait (#47921)
* Fix docblocks of the dispatchable trait * Update src/Illuminate/Foundation/Events/Dispatchable.php Co-authored-by: Nuno Maduro <[email protected]> * Update src/Illuminate/Foundation/Events/Dispatchable.php Co-authored-by: Nuno Maduro <[email protected]> --------- Co-authored-by: Taylor Otwell <[email protected]> Co-authored-by: Nuno Maduro <[email protected]>
1 parent a0e3f5a commit 8e98688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Foundation/Events/Dispatchable.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ trait Dispatchable
77
/**
88
* Dispatch the event with the given arguments.
99
*
10-
* @return void
10+
* @return mixed
1111
*/
1212
public static function dispatch()
1313
{
@@ -19,7 +19,7 @@ public static function dispatch()
1919
*
2020
* @param bool $boolean
2121
* @param mixed ...$arguments
22-
* @return void
22+
* @return mixed
2323
*/
2424
public static function dispatchIf($boolean, ...$arguments)
2525
{
@@ -33,7 +33,7 @@ public static function dispatchIf($boolean, ...$arguments)
3333
*
3434
* @param bool $boolean
3535
* @param mixed ...$arguments
36-
* @return void
36+
* @return mixed
3737
*/
3838
public static function dispatchUnless($boolean, ...$arguments)
3939
{

0 commit comments

Comments
 (0)