Completed
Pull Request — master (#269)
by Christopher
09:48 queued 37s
created
src/POData/ObjectModel/CynicDeserialiser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         assert($set instanceof ResourceSet, get_class($set));
138 138
         $type       = $set->getResourceType();
139 139
         $properties = $this->getDeserialiser()->bulkDeserialise($type, $content);
140
-        $properties = (object)$properties;
140
+        $properties = (object) $properties;
141 141
 
142 142
         if ($isCreate) {
143 143
             $result = $this->getWrapper()->createResourceforResourceSet($set, null, $properties);
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
             for ($i = 0; $i < $numEntries; $i++) {
323 323
                 $targEntityInstance = $bulkResult[$i];
324 324
                 $this->getWrapper()->hookSingleModel($sourceSet, $source, $targSet, $targEntityInstance, $propName);
325
-                $key                                                   = $this->generateKeyDescriptor($targType, $targEntityInstance);
325
+                $key = $this->generateKeyDescriptor($targType, $targEntityInstance);
326 326
                 $link->getExpandedResult()->getFeed()->getEntries()[$i]->id = $key;
327 327
             }
328 328
         }
Please login to merge, or discard this patch.
src/POData/ObjectModel/ODataProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     public function getTypeName(): string
78 78
     {
79
-        return $this->typeName ?? '' ;
79
+        return $this->typeName ?? '';
80 80
     }
81 81
 
82 82
     /**
Please login to merge, or discard this patch.