@@ -151,12 +151,12 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * {@inheritdoc} |
153 | 153 | */ |
154 | - public function jsonSerialize() |
|
154 | + public function jsonSerialize () |
|
155 | 155 | { |
156 | 156 | return $this->jsonResponse; |
157 | 157 | } |
158 | 158 | |
159 | - protected function lazyLoad() |
|
159 | + protected function lazyLoad () |
|
160 | 160 | { |
161 | 161 | if (empty($this->jsonResponse)) |
162 | 162 | { |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | { |
316 | 316 | if (self::lazyCastNeeded($target, $objectType)) |
317 | 317 | { |
318 | - $object = ($objectType[0] == "\\") ? $objectType : self::OBJ_NAMESPACE . $objectType; |
|
318 | + $object = ($objectType[0] == "\\") ? $objectType : self::OBJ_NAMESPACE.$objectType; |
|
319 | 319 | $target = new $object($target); |
320 | 320 | } |
321 | 321 | } |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | */ |
352 | 352 | final protected static function lazyCastNeeded ($target, $objectType) |
353 | 353 | { |
354 | - $objectDefinition = ($objectType[0] === "\\") ? $objectType : self::OBJ_NAMESPACE . $objectType; |
|
354 | + $objectDefinition = ($objectType[0] === "\\") ? $objectType : self::OBJ_NAMESPACE.$objectType; |
|
355 | 355 | |
356 | 356 | return !($target instanceof $objectDefinition); |
357 | 357 | } |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | */ |
389 | 389 | final protected static function castArrayToObjectArray ($className, $objects) |
390 | 390 | { |
391 | - $class = self::OBJ_NAMESPACE . $className; |
|
391 | + $class = self::OBJ_NAMESPACE.$className; |
|
392 | 392 | $array = array(); |
393 | 393 | |
394 | 394 | foreach ($objects as $post) |