@@ -62,7 +62,7 @@ discard block |
||
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 |
||
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 { |
@@ -62,8 +62,9 @@ discard block |
||
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 |
||
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 |