Passed
Push — master ( 45757c...f590a9 )
by Iman
04:11
created
src/Modules/ModuleGenerator/Step1Handler.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
         if (file_exists(controller_path($row->controller))) {
40 40
             $response = FileManipulator::readCtrlContent(str_replace('.', '', $row->controller));
41
-        }else{
41
+        } else{
42 42
             $response = file_get_contents(__DIR__.'Step1Handler.php/'.str_replace('.', '', $row->controller).'.php');
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Modules/FileManagerModule/AdminFileManagerController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,9 @@
 block discarded – undo
70 70
     public function getDeleteFile($file)
71 71
     {
72 72
         $file = base64_decode($file);
73
-        if(Storage::delete($file))
74
-            backWithMsg('The file has been deleted!');
73
+        if(Storage::delete($file)) {
74
+                    backWithMsg('The file has been deleted!');
75
+        }
75 76
 
76 77
         backWithMsg('The file did not deleted!', 'warning');
77 78
     }
Please login to merge, or discard this patch.