Skip to content

Commit

Permalink
Style guide fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcrypto authored Jun 14, 2021
1 parent 634017d commit 709f17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/RequiredIf.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RequiredIf
*/
public function __construct($condition)
{
if(!is_string($condition) && (is_bool($condition) || is_callable($condition))) {
if(! is_string($condition) && (is_bool($condition) || is_callable($condition))) {
$this->condition = $condition;
} else {
throw new InvalidArgumentException("Condition type must be 'callable' or 'bool'.");
Expand Down

0 comments on commit 709f17f

Please sign in to comment.