Completed
Pull Request — master (#33)
by Christopher
03:44
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/Writers/Metadata/MetadataWriter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $resourceTypesInContainerNamespace = array();
99 99
         $containerNamespace = $this->providersWrapper->getContainerNamespace();
100 100
         foreach ($this->_metadataManager->getResourceTypesAlongWithNamespace()
101
-                 as $resourceTypeNamespace => $resourceTypesWithName) {
101
+                    as $resourceTypeNamespace => $resourceTypesWithName) {
102 102
             if ($resourceTypeNamespace == $containerNamespace) {
103 103
                 foreach ($resourceTypesWithName as $resourceTypeName => $resourceType) {
104 104
                     $resourceTypesInContainerNamespace[] = $resourceType;
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     private function _writeProperties(ResourceType $resourceType, $associationTypesInResourceTypeNamespace)
280 280
     {
281 281
         foreach ($this->_metadataManager->getAllVisiblePropertiesDeclaredOnThisType($resourceType)
282
-                 as $resourceProperty) {
282
+                    as $resourceProperty) {
283 283
             if ($resourceProperty->isKindOf(ResourcePropertyKind::BAG)) {
284 284
                 $this->_writeBagProperty($resourceProperty);
285 285
             } elseif ($resourceProperty->isKindOf(ResourcePropertyKind::PRIMITIVE)) {
Please login to merge, or discard this patch.
src/POData/UriProcessor/UriProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
347 347
             $segment->setResult($entityInstance);
348 348
         } else {
349 349
             $skip = (null == $this->request) ? 0 : $this->request->getSkipCount();
350
-            $skip = (null == $skip) ? 0 :$skip;
350
+            $skip = (null == $skip) ? 0 : $skip;
351 351
             $queryResult = $this->providers->getResourceSet(
352 352
                 $this->request->queryType,
353 353
                 $segment->getTargetResourceSetWrapper(),
Please login to merge, or discard this patch.