@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | if ($argumentCount == 0) |
| 52 | 52 | throw new \InvalidArgumentException("Requires an argument"); |
| 53 | 53 | |
| 54 | - if ($argumentCount > 0 && $argumentCount< 2) |
|
| 54 | + if ($argumentCount > 0 && $argumentCount < 2) |
|
| 55 | 55 | return $this->find($arguments[0], $name, $this->systems[$name]['base_action']); |
| 56 | 56 | |
| 57 | 57 | if ($argumentCount == 2) { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | $profileType = $this->systems[$name]['base_action']; |
| 61 | 61 | return $this->find($id, $name, $profileType); |
| 62 | 62 | } |
| 63 | - if ($argumentCount == 4 ) { |
|
| 63 | + if ($argumentCount == 4) { |
|
| 64 | 64 | list($id, $profileType, $cache, $raw) = $arguments; |
| 65 | 65 | return $this->find($id, $name, $profileType, $cache, $raw); |
| 66 | 66 | } else { |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | private function fillModel($model, $fillData) |
| 162 | 162 | { |
| 163 | 163 | if (is_array($model)) { |
| 164 | - list($className, $dataRoot, $idName) =$model; |
|
| 164 | + list($className, $dataRoot, $idName) = $model; |
|
| 165 | 165 | $object = new \ReflectionClass('StarCitizen\Models\Store'); |
| 166 | 166 | return $object->newInstance($fillData, $className, $dataRoot, $idName); |
| 167 | 167 | } else { |