@@ -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)) { |
@@ -695,7 +695,6 @@ |
||
695 | 695 | * whose value need to be converted |
696 | 696 | * @param mixed $primitiveValue Primitive value to convert |
697 | 697 | * @return string |
698 | - |
|
699 | 698 | */ |
700 | 699 | private function _primitiveToString( |
701 | 700 | ResourceType &$primitiveResourceType, |
@@ -14,13 +14,13 @@ |
||
14 | 14 | $checkETagForEquality, |
15 | 15 | IOperationContext $operationContext |
16 | 16 | ) { |
17 | - return null; // TODO: find default stream and return. |
|
18 | - } |
|
17 | + return null; // TODO: find default stream and return. |
|
18 | + } |
|
19 | 19 | public function getStreamContentType($entity,IOperationContext $operationContext) |
20 | 20 | { |
21 | 21 | return 'application/octet-stream'; |
22 | 22 | } |
23 | - public function getStreamETag($entity, IOperationContext $operationContext) |
|
23 | + public function getStreamETag($entity, IOperationContext $operationContext) |
|
24 | 24 | { |
25 | 25 | return null; // TODO: find default stream and return. |
26 | 26 | } |