Completed
Push — master ( 5d806d...9bbd4e )
by Stephen
03:52
created
src/StarCitizens.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $argumentCount = count($arguments);
64 64
 
65
-        if ($argumentCount > 0 && $argumentCount< 2)
65
+        if ($argumentCount > 0 && $argumentCount < 2)
66 66
             return $this->callBase($arguments[0], $name);
67 67
 
68 68
         if ($argumentCount == 2) {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     private function fillModel($model, $fillData)
204 204
     {
205 205
         if (is_array($model)) {
206
-            list($className, $dataRoot, $idName) =$model;
206
+            list($className, $dataRoot, $idName) = $model;
207 207
             $object = new \ReflectionClass('StarCitizen\Models\Store');
208 208
             return $object->newInstance($fillData, $className, $dataRoot, $idName);
209 209
         } else {
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,8 +62,9 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $argumentCount = count($arguments);
64 64
 
65
-        if ($argumentCount > 0 && $argumentCount< 2)
66
-            return $this->callBase($arguments[0], $name);
65
+        if ($argumentCount > 0 && $argumentCount< 2) {
66
+                    return $this->callBase($arguments[0], $name);
67
+        }
67 68
 
68 69
         if ($argumentCount == 2) {
69 70
             list($id, $action) = $arguments;
@@ -96,8 +97,9 @@  discard block
 block discarded – undo
96 97
      */
97 98
     private function callAction($id, $system, $action = false)
98 99
     {
99
-        if ($action === false)
100
-            $action = $this->systems[$system]['base_action'];
100
+        if ($action === false) {
101
+                    $action = $this->systems[$system]['base_action'];
102
+        }
101 103
         return $this->find($id, $system, $action);
102 104
     }
103 105
 
Please login to merge, or discard this patch.