Passed
Push — master ( 638d34...c14ede )
by Ferry
04:41
created
src/controllers/DeveloperPluginStoreController.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,10 +39,10 @@  discard block
 block discarded – undo
39 39
             if(file_exists(app_path("CBPlugins/".$key))) {
40 40
                 rrmdir(app_path("CBPlugins/".$key));
41 41
                 return cb()->redirectBack('Plugin has been uninstalled!','success');
42
-            }else{
42
+            } else{
43 43
                 return cb()->redirectBack('Failed to uninstall, plugin is not found');
44 44
             }
45
-        }else {
45
+        } else {
46 46
             return cb()->redirectBack('Failed to uninstall, plugin key is not found');
47 47
         }
48 48
     }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             } else {
77 77
                 return cb()->redirectBack("Failed to install/update, can't open the plugin archive");
78 78
             }
79
-        }else{
79
+        } else{
80 80
             return cb()->redirectBack('Failed to install/update, plugin key is not found');
81 81
         }
82 82
     }
Please login to merge, or discard this patch.