@@ -5,7 +5,6 @@ |
||
5 | 5 | use POData\Common\Messages; |
6 | 6 | use POData\Common\ODataException; |
7 | 7 | use POData\Providers\Metadata\ResourcePropertyKind; |
8 | -use POData\Providers\Metadata\ResourceSet; |
|
9 | 8 | use POData\Providers\Metadata\ResourceSetWrapper; |
10 | 9 | use POData\Providers\Metadata\ResourceType; |
11 | 10 | use POData\Providers\Metadata\ResourceTypeKind; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use POData\Providers\Metadata\ResourcePropertyKind; |
12 | 12 | use POData\Providers\Metadata\ResourceType; |
13 | 13 | use POData\Providers\Metadata\ResourceTypeKind; |
14 | -use POData\Providers\Metadata\ResourceStreamInfo; |
|
15 | 14 | use POData\Providers\Metadata\Type\Binary; |
16 | 15 | use POData\Providers\Metadata\Type\Boolean; |
17 | 16 | use POData\Providers\Metadata\Type\DateTime; |
@@ -892,6 +892,9 @@ |
||
892 | 892 | return [$odataPropertyContent, $navigationProperties]; |
893 | 893 | } |
894 | 894 | |
895 | + /** |
|
896 | + * @param ResourcePropertyKind $resourceKind |
|
897 | + */ |
|
895 | 898 | public static function isMatchPrimitive($resourceKind) |
896 | 899 | { |
897 | 900 | if (16 > $resourceKind) { |
@@ -124,7 +124,7 @@ |
||
124 | 124 | * @param ResourceEntityType $resourceType Resource type for the source end |
125 | 125 | * @param ResourceProperty $resourceProperty Resource property for the source end |
126 | 126 | * |
127 | - * @return ResourceAssociationTypeEndRelated Association type end for the |
|
127 | + * @return ResourceAssociationTypeEnd|null Association type end for the |
|
128 | 128 | * given parameters |
129 | 129 | */ |
130 | 130 | public function getRelatedResourceAssociationSetEnd( |
@@ -2,13 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace POData\Providers\Metadata; |
4 | 4 | |
5 | -use AlgoWeb\ODataMetadata\IsOK; |
|
6 | 5 | use AlgoWeb\ODataMetadata\MetadataManager; |
7 | 6 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TComplexTypeType; |
8 | 7 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityTypeType; |
9 | 8 | use Illuminate\Support\Str; |
10 | 9 | use POData\Common\InvalidOperationException; |
11 | -use POData\Common\NotImplementedException; |
|
12 | 10 | use POData\Providers\Metadata\Type\IType; |
13 | 11 | use POData\Providers\Metadata\Type\TypeCode; |
14 | 12 |
@@ -674,6 +674,7 @@ |
||
674 | 674 | * True if response needs to be |
675 | 675 | * serialized, False otherwise |
676 | 676 | * @param bool $needToSerializeResponse |
677 | + * @param QueryResult $entryObject |
|
677 | 678 | * |
678 | 679 | * @return string|null The ETag for the entry object if it has eTag properties |
679 | 680 | * NULL otherwise |
@@ -31,7 +31,6 @@ |
||
31 | 31 | use POData\UriProcessor\Interfaces\IUriProcessor; |
32 | 32 | use POData\UriProcessor\RequestDescription; |
33 | 33 | use POData\UriProcessor\ResourcePathProcessor\SegmentParser\TargetKind; |
34 | -use POData\UriProcessor\UriProcessor; |
|
35 | 34 | use POData\UriProcessor\UriProcessorNew; |
36 | 35 | use POData\Writers\Atom\AtomODataWriter; |
37 | 36 | use POData\Writers\Json\JsonLightMetadataLevel; |
@@ -629,7 +629,7 @@ discard block |
||
629 | 629 | * @param InternalOrderByInfo $orderBy The orderBy information |
630 | 630 | * @param int $top The top count |
631 | 631 | * @param int $skip The skip count |
632 | - * @param InternalSkipTokenInfo $skipToken The skip token |
|
632 | + * @param SkipTokenInfo $skipToken The skip token |
|
633 | 633 | * |
634 | 634 | * @return QueryResult |
635 | 635 | */ |
@@ -832,7 +832,7 @@ discard block |
||
832 | 832 | |
833 | 833 | /** |
834 | 834 | * @param ResourceSet $resourceSet The entity set containing the entity to fetch |
835 | - * @param object $sourceEntityInstance The source entity instance |
|
835 | + * @param KeyDescriptor $sourceEntityInstance The source entity instance |
|
836 | 836 | * @param object $data The New data for the entity instance. |
837 | 837 | * |
838 | 838 | * returns object|null returns the newly created model if successful, or null if model creation failed. |
@@ -297,7 +297,7 @@ discard block |
||
297 | 297 | /** |
298 | 298 | * @param $resourceSet |
299 | 299 | * @param $keyDescriptor |
300 | - * @param $requestMethod |
|
300 | + * @param HTTPRequestMethod $requestMethod |
|
301 | 301 | * @throws ODataException |
302 | 302 | */ |
303 | 303 | protected function checkUriValidForSuppliedVerb($resourceSet, $keyDescriptor, $requestMethod) |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | } |
312 | 312 | |
313 | 313 | /** |
314 | - * @param $segment |
|
314 | + * @param SegmentDescriptor $segment |
|
315 | 315 | */ |
316 | 316 | private function executeGetSingleton($segment) |
317 | 317 | { |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | } |
322 | 322 | |
323 | 323 | /** |
324 | - * @param $segment |
|
324 | + * @param SegmentDescriptor $segment |
|
325 | 325 | */ |
326 | 326 | private function executeGetResource($segment) |
327 | 327 | { |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | } |
350 | 350 | |
351 | 351 | /** |
352 | - * @param $segment |
|
352 | + * @param SegmentDescriptor $segment |
|
353 | 353 | */ |
354 | 354 | private function executeGetLink($segment) |
355 | 355 | { |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use POData\Providers\Metadata\ResourcePropertyKind; |
11 | 11 | use POData\Providers\ProvidersWrapper; |
12 | 12 | use POData\Providers\Query\QueryResult; |
13 | -use POData\Providers\Query\QueryType; |
|
14 | 13 | use POData\UriProcessor\Interfaces\IUriProcessor; |
15 | 14 | use POData\UriProcessor\QueryProcessor\QueryProcessor; |
16 | 15 | use POData\UriProcessor\ResourcePathProcessor\ResourcePathProcessor; |
@@ -431,6 +431,7 @@ |
||
431 | 431 | * @param int &$textIndex Index into text where the qvalue starts |
432 | 432 | * @param int &$qualityValue After the method executes, the normalized qvalue |
433 | 433 | * @param int $textIndex |
434 | + * @param string $qualityValue |
|
434 | 435 | * |
435 | 436 | * @throws HttpHeaderFailure If any error occurred while reading and processing |
436 | 437 | * the quality factor |