@@ -141,11 +141,11 @@ |
||
| 141 | 141 | private function fillModel($model, $fillData) |
| 142 | 142 | { |
| 143 | 143 | if (is_array($model)) { |
| 144 | - list($className, $dataRoot, $idName) =$model; |
|
| 144 | + list($className, $dataRoot, $idName) = $model; |
|
| 145 | 145 | $object = new \ReflectionClass('StarCitizen\Models\Store'); |
| 146 | 146 | return $object->newInstance($fillData, $className, $dataRoot, $idName); |
| 147 | 147 | } else { |
| 148 | - $object = new \ReflectionClass('StarCitizen\Models' . $model); |
|
| 148 | + $object = new \ReflectionClass('StarCitizen\Models'.$model); |
|
| 149 | 149 | return $object->newInstance($fillData); |
| 150 | 150 | } |
| 151 | 151 | } |