Completed
Pull Request — master (#30)
by Alex
03:38
created
src/POData/Providers/ProvidersWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -966,7 +966,7 @@
 block discarded – undo
966 966
     }
967 967
     /**
968 968
      * @param ResourceSet      $resourceSet   The entity set containing the entity to fetch
969
-     * @param object           $sourceEntityInstance The source entity instance
969
+     * @param KeyDescriptor           $sourceEntityInstance The source entity instance
970 970
      * @param object           $data                 The New data for the entity instance.
971 971
      *
972 972
      * returns object|null returns the newly created model if sucessful or null if model creation failed.
Please login to merge, or discard this patch.
src/POData/UriProcessor/UriProcessor.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -346,8 +346,7 @@
 block discarded – undo
346 346
 
347 347
             $segment->setResult($entityInstance);
348 348
         } else {
349
-            $skip = (null == $this->request->getInternalSkipTokenInfo()) ? 0 :
350
-                $this->request->getInternalSkipTokenInfo()->getSkipTokenInfo()->getOrderByKeysInToken()[0][0];
349
+            $skip = (null == $this->request->getInternalSkipTokenInfo()) ? 0 : $this->request->getInternalSkipTokenInfo()->getSkipTokenInfo()->getOrderByKeysInToken()[0][0];
351 350
             $queryResult = $this->providers->getResourceSet(
352 351
                 $this->request->queryType,
353 352
                 $segment->getTargetResourceSetWrapper(),
Please login to merge, or discard this patch.