@@ -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) |