We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function getCollection() |
| 10 | 10 | { |
| 11 | - return app('crud')->getOperationSetting('fields') ?? []; |
|
| 11 | + return app('crud')->getOperationSetting('fields') ?? []; |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | public function saveCollection($collection) |
@@ -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 | } |