@@ -19,7 +19,7 @@ |
||
19 | 19 | * app/vue.php will be passed here if loaded with |
20 | 20 | * $this->load->package('francis94c/vue-ci'); |
21 | 21 | */ |
22 | - function __construct(?array $params=null) |
|
22 | + function __construct(?array $params = null) |
|
23 | 23 | { |
24 | 24 | get_instance()->load->helper('inflector'); |
25 | 25 |
@@ -23,7 +23,9 @@ |
||
23 | 23 | { |
24 | 24 | get_instance()->load->helper('inflector'); |
25 | 25 | |
26 | - if ($params) $this->groups = $params['groups'] ?? []; |
|
26 | + if ($params) { |
|
27 | + $this->groups = $params['groups'] ?? []; |
|
28 | + } |
|
27 | 29 | } |
28 | 30 | |
29 | 31 | /** |