@@ -11,7 +11,6 @@ |
||
11 | 11 | use POData\Common\ODataException; |
12 | 12 | use POData\Common\ODataConstants; |
13 | 13 | use POData\Common\NotImplementedException; |
14 | -use POData\Common\InvalidOperationException; |
|
15 | 14 | use POData\Common\HttpStatus; |
16 | 15 | use POData\Providers\Metadata\Type\IType; |
17 | 16 | use POData\Providers\ProvidersWrapper; |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | } |
302 | 302 | |
303 | 303 | /** |
304 | - * @param $expandedProjectionNode |
|
304 | + * @param ExpandedProjectionNode $expandedProjectionNode |
|
305 | 305 | * @param $entry |
306 | 306 | * @return null|\object[] |
307 | 307 | */ |
@@ -327,10 +327,10 @@ discard block |
||
327 | 327 | } |
328 | 328 | |
329 | 329 | /** |
330 | - * @param $expandedProjectionNode |
|
330 | + * @param ExpandedProjectionNode $expandedProjectionNode |
|
331 | 331 | * @param $entry |
332 | - * @param $resourceType |
|
333 | - * @param $expandedPropertyName |
|
332 | + * @param \POData\Providers\Metadata\ResourceType $resourceType |
|
333 | + * @param string $expandedPropertyName |
|
334 | 334 | * @throws InvalidOperationException |
335 | 335 | * @throws \POData\Common\ODataException |
336 | 336 | */ |
@@ -360,9 +360,9 @@ discard block |
||
360 | 360 | /** |
361 | 361 | * @param $entry |
362 | 362 | * @param $result |
363 | - * @param $expandedProjectionNode |
|
364 | - * @param $resourceType |
|
365 | - * @param $expandedPropertyName |
|
363 | + * @param ExpandedProjectionNode $expandedProjectionNode |
|
364 | + * @param \POData\Providers\Metadata\ResourceType $resourceType |
|
365 | + * @param string $expandedPropertyName |
|
366 | 366 | * @throws InvalidOperationException |
367 | 367 | */ |
368 | 368 | private function executeCollectionExpansionProcessExpansion( |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | * @throws InvalidOperationException If this function invoked with non-navigation |
195 | 195 | * property instance |
196 | 196 | */ |
197 | - private function pushSegmentForNavigationProperty(ResourceProperty &$resourceProperty) |
|
197 | + private function pushSegmentForNavigationProperty(ResourceProperty & $resourceProperty) |
|
198 | 198 | { |
199 | 199 | if ($resourceProperty->getTypeKind() == ResourceTypeKind::ENTITY) { |
200 | 200 | assert(!empty($this->getStack()->getSegmentNames()), '!is_empty($this->getStack()->getSegmentNames())'); |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | * |
280 | 280 | * @return bool true if the segment was push, false otherwise |
281 | 281 | */ |
282 | - private function pushSegment($segmentName, ResourceSetWrapper &$resourceSetWrapper) |
|
282 | + private function pushSegment($segmentName, ResourceSetWrapper & $resourceSetWrapper) |
|
283 | 283 | { |
284 | 284 | return $this->getStack()->pushSegment($segmentName, $resourceSetWrapper); |
285 | 285 | } |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace POData; |
4 | 4 | |
5 | 5 | use POData\Configuration\IServiceConfiguration; |
6 | -use POData\Configuration\ServiceConfiguration; |
|
7 | 6 | use POData\Configuration\EntitySetRights; |
8 | 7 | use POData\ObjectModel\IObjectSerialiser; |
9 | -use POData\ObjectModel\ObjectModelSerializer; |
|
10 | 8 | use POData\OperationContext\ServiceHost; |
11 | 9 | use POData\Providers\Stream\IStreamProvider; |
12 | 10 | use POData\Providers\Metadata\IMetadataProvider; |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use DOMDocument; |
6 | 6 | use ReflectionClass; |
7 | 7 | use ReflectionException; |
8 | -use ReflectionProperty; |
|
9 | 8 | |
10 | 9 | class AtomODataReader |
11 | 10 | { |
@@ -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 | } |
@@ -16,7 +16,7 @@ |
||
16 | 16 | ) { |
17 | 17 | return null; // TODO: find default stream and return. |
18 | 18 | } |
19 | - public function getStreamContentType($entity,IOperationContext $operationContext) |
|
19 | + public function getStreamContentType($entity, IOperationContext $operationContext) |
|
20 | 20 | { |
21 | 21 | return 'application/octet-stream'; |
22 | 22 | } |