| @@ -966,7 +966,7 @@ | ||
| 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. | 
| @@ -98,7 +98,7 @@ discard block | ||
| 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 | ||
| 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)) { |