Completed
Push — master ( f26179...1e061c )
by Vladimir
04:47
created
src/Objects/ApiObject.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.