We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -389,10 +389,12 @@ |
||
389 | 389 | return $this->fallbackLogic($value); |
390 | 390 | } |
391 | 391 | |
392 | - public function else($value) |
|
392 | + public function else { |
|
393 | + ($value) |
|
393 | 394 | { |
394 | 395 | return $this->fallbackLogic($value); |
395 | 396 | } |
397 | + } |
|
396 | 398 | |
397 | 399 | // --------------- |
398 | 400 | // PRIVATE METHODS |
@@ -27,7 +27,7 @@ |
||
27 | 27 | if (! is_a($value, 'Illuminate\Database\Eloquent\Model', true)) { |
28 | 28 | $fail('The '.$attribute.' should be a valid class that extends Illuminate\Database\Eloquent\Model .'); |
29 | 29 | } |
30 | - }else{ |
|
30 | + } else{ |
|
31 | 31 | if($value !== false){ |
32 | 32 | $fail('The '.$attribute.' should be either false or a valid class that extends Illuminate\Database\Eloquent\Model.'); |
33 | 33 | } |