@@ -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 | } |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | */ |
355 | 355 | final protected static function lazyCastNeeded ($target, $objectType) |
356 | 356 | { |
357 | - $objectDefinition = ($objectType[0] === "\\") ? $objectType : self::OBJ_NAMESPACE . $objectType; |
|
357 | + $objectDefinition = ($objectType[0] === "\\") ? $objectType : self::OBJ_NAMESPACE.$objectType; |
|
358 | 358 | |
359 | 359 | return !($target instanceof $objectDefinition); |
360 | 360 | } |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | */ |
392 | 392 | final protected static function castArrayToObjectArray ($className, $objects) |
393 | 393 | { |
394 | - $class = self::OBJ_NAMESPACE . $className; |
|
394 | + $class = self::OBJ_NAMESPACE.$className; |
|
395 | 395 | $array = []; |
396 | 396 | |
397 | 397 | foreach ($objects as $post) |