Passed
Push — master ( b3cb09...4c9cf7 )
by Iman
03:50
created
src/Modules/FileManagerModule/AdminFileManagerController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.