Passed
Branch master (8f54d1)
by Francis
07:12
created
libraries/VueLoader.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,9 @@
 block discarded – undo
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
   /**
Please login to merge, or discard this patch.