@@ -45,13 +45,13 @@ |
||
45 | 45 | { |
46 | 46 | $path = request('path') ? base64_decode(request('path')) : 'uploads'; |
47 | 47 | $file = Request::file('userfile'); |
48 | - if (! $file) { |
|
48 | + if (!$file) { |
|
49 | 49 | return null; |
50 | 50 | } |
51 | 51 | |
52 | 52 | $fileName = $file->getClientOriginalName(); |
53 | 53 | |
54 | - if (! FieldDetector::isUploadField($file->getClientOriginalExtension())) { |
|
54 | + if (!FieldDetector::isUploadField($file->getClientOriginalExtension())) { |
|
55 | 55 | backWithMsg('The file '.$fileName.' type is not allowed!', 'warning'); |
56 | 56 | } |
57 | 57 |