Completed
Push — develop ( 21c609...db7143 )
by Vladimir
04:02
created
src/Objects/ApiObject.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -151,12 +151,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.