Passed
Push — master ( 4c296c...94cc28 )
by Iman
05:54 queued 01:37
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/commands/CrudboosterInstallationCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
 		if($this->confirm('Do you have setting the database configuration at .env ?')) {
57 57
             $this->installCrudbooster();
58
-		}else{
58
+		} else{
59 59
 			$this->info('Setup Aborted !');
60 60
 			$this->info('Please setting the database configuration for first !');
61 61
 		}
Please login to merge, or discard this patch.
src/controllers/ApiController/ExecuteApi.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,12 +81,12 @@
 block discarded – undo
81 81
             $result = [];
82 82
             if ($actionType == 'list') {
83 83
                 $result = $this->handleListAction($table, $orderby, $data, $responses_fields);
84
-            }elseif ($actionType == 'detail') {
84
+            } elseif ($actionType == 'detail') {
85 85
                 $result = $this->handleDetailsAction($data, $parameters, $posts, $responses_fields);
86
-            }elseif ($actionType == 'delete') {
86
+            } elseif ($actionType == 'delete') {
87 87
                 $result = $this->handleDeleteAction($table, $data);
88 88
             }
89
-        }elseif (in_array($actionType, ['save_add', 'save_edit'])) {
89
+        } elseif (in_array($actionType, ['save_add', 'save_edit'])) {
90 90
             $rowAssign = array_filter($input_validator, function ($column) use ($table) {
91 91
                 return Schema::hasColumn($table, $column);
92 92
             }, ARRAY_FILTER_USE_KEY);
Please login to merge, or discard this patch.