@@ -68,7 +68,8 @@ |
||
| 68 | 68 | */ |
| 69 | 69 | protected function setValue ($response) |
| 70 | 70 | { |
| 71 | - if (!isset($response['value']['tag_ids'])) { |
|
| 71 | + if (!isset($response['value']['tag_ids'])) |
|
| 72 | + { |
|
| 72 | 73 | $this->column_value = []; |
| 73 | 74 | |
| 74 | 75 | return; |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | { |
| 304 | 304 | if (self::lazyCastNeeded($target, $objectType)) |
| 305 | 305 | { |
| 306 | - $object = ($objectType[0] == "\\") ? $objectType : self::OBJ_NAMESPACE . $objectType; |
|
| 306 | + $object = ($objectType[0] == "\\") ? $objectType : self::OBJ_NAMESPACE.$objectType; |
|
| 307 | 307 | $target = new $object($target); |
| 308 | 308 | } |
| 309 | 309 | } |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | */ |
| 343 | 343 | final protected static function lazyCastNeeded ($target, $objectType) |
| 344 | 344 | { |
| 345 | - $objectDefinition = ($objectType[0] === "\\") ? $objectType : self::OBJ_NAMESPACE . $objectType; |
|
| 345 | + $objectDefinition = ($objectType[0] === "\\") ? $objectType : self::OBJ_NAMESPACE.$objectType; |
|
| 346 | 346 | |
| 347 | 347 | return !($target instanceof $objectDefinition); |
| 348 | 348 | } |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | */ |
| 381 | 381 | final protected static function castArrayToObjectArray ($className, $objects, $lazyLoad = false) |
| 382 | 382 | { |
| 383 | - $class = self::OBJ_NAMESPACE . $className; |
|
| 383 | + $class = self::OBJ_NAMESPACE.$className; |
|
| 384 | 384 | $array = []; |
| 385 | 385 | |
| 386 | 386 | foreach ($objects as $post) |