@@ -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; |