Skip to content

Commit

Permalink
Fix docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed May 28, 2021
1 parent f917417 commit 7a5d462
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Illuminate/Support/Traits/Conditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ trait Conditional
/**
* Apply the callback if the given "value" is true.
*
* @param mixed $value
* @param callable $callback
* @param callable|null $default
* @param mixed $value
* @param callable $callback
* @param callable|null $default
*
* @return mixed|$this
* @return mixed
*/
public function when($value, $callback, $default = null)
{
Expand All @@ -27,11 +27,11 @@ public function when($value, $callback, $default = null)
/**
* Apply the callback if the given "value" is false.
*
* @param mixed $value
* @param callable $callback
* @param callable|null $default
* @param mixed $value
* @param callable $callback
* @param callable|null $default
*
* @return mixed|$this
* @return mixed
*/
public function unless($value, $callback, $default = null)
{
Expand Down

0 comments on commit 7a5d462

Please sign in to comment.