@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Akibatech\Crud\Traits; |
| 4 | 4 | |
| 5 | -use Illuminate\Http\UploadedFile; |
|
| 6 | 5 | use Illuminate\Validation\Validator; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | |
| 98 | 98 | if (count($rules) > 0) |
| 99 | 99 | { |
| 100 | - $validator->sometimes($this->getIdentifier(), $rules, function ($input) use ($identifier) |
|
| 100 | + $validator->sometimes($this->getIdentifier(), $rules, function($input) use ($identifier) |
|
| 101 | 101 | { |
| 102 | 102 | return is_null($input->{$identifier}) ? false : true; |
| 103 | 103 | }); |