@@ -5,7 +5,9 @@ |
||
5 | 5 | */ |
6 | 6 | $queryData = function ($form) |
7 | 7 | { |
8 | - if (! $formInput['options']['table']) return; |
|
8 | + if (! $formInput['options']['table']) { |
|
9 | + return; |
|
10 | + } |
|
9 | 11 | $field_label = $formInput['options']['field_label']; |
10 | 12 | $field_value = $formInput['options']['field_value']; |
11 | 13 |
@@ -55,7 +55,7 @@ |
||
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 | } |
@@ -117,7 +117,10 @@ |
||
117 | 117 | @if($param['used']) |
118 | 118 | <?php |
119 | 119 | $param_exception = ['in', 'not_in', 'digits_between']; |
120 | - if ($param['config'] && substr($param['config'], 0, 1) != '*' && ! in_array($param['type'], $param_exception)) continue;?> |
|
120 | + if ($param['config'] && substr($param['config'], 0, 1) != '*' && ! in_array($param['type'], $param_exception)) { |
|
121 | + continue; |
|
122 | + } |
|
123 | + ?> |
|
121 | 124 | <tr> |
122 | 125 | <td>{{++$i}}</td> |
123 | 126 | <td width="5%"><em>{{$param['type']}}</em></td> |