Completed
Push — master ( d09e17...1c8c2d )
by Scott
02:51
created
formwidgets/OptionsInventories.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,16 +27,16 @@
 block discarded – undo
27 27
      */
28 28
     public function prepareVars()
29 29
     {
30
-        $this->vars['name'] = $this->formField->getName();
31
-        $this->vars['value'] = $this->getLoadValue();
32
-        $this->vars['model'] = $this->model;
30
+        $this->vars[ 'name' ] = $this->formField->getName();
31
+        $this->vars[ 'value' ] = $this->getLoadValue();
32
+        $this->vars[ 'model' ] = $this->model;
33 33
 
34 34
         if ($this->model->exists) {
35
-            $this->vars['options'] = $this->model->options()->get()->toArray();
36
-            $this->vars['inventories'] = $this->model->inventories()->get()->toArray();
35
+            $this->vars[ 'options' ] = $this->model->options()->get()->toArray();
36
+            $this->vars[ 'inventories' ] = $this->model->inventories()->get()->toArray();
37 37
         } else {
38
-            $this->vars['options'] = [];
39
-            $this->vars['inventories'] = [];
38
+            $this->vars[ 'options' ] = [ ];
39
+            $this->vars[ 'inventories' ] = [ ];
40 40
         }
41 41
     }
42 42
 
Please login to merge, or discard this patch.