@@ -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) { |
@@ -132,7 +132,7 @@ |
||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | $this->rawUrl .= '://' . |
| 135 | - $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
|
| 135 | + $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
|
| 136 | 136 | $this->rawUrl .= utf8_decode(urldecode($_SERVER[ODataConstants::HTTPREQUEST_URI])); |
| 137 | 137 | } |
| 138 | 138 | |
@@ -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( |
@@ -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 |
@@ -469,7 +469,7 @@ |
||
| 469 | 469 | ODataConstants::HTTPQUERY_STRING_ORDERBY, |
| 470 | 470 | ODataConstants::HTTPQUERY_STRING_INLINECOUNT, |
| 471 | 471 | ODataConstants::HTTPQUERY_STRING_SELECT |
| 472 | - ] as $queryOption) { |
|
| 472 | + ] as $queryOption) { |
|
| 473 | 473 | $value = $this->getService()->getHost()->getQueryStringItem($queryOption); |
| 474 | 474 | if (!is_null($value)) { |
| 475 | 475 | if (!is_null($queryParameterString)) { |
@@ -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 | { |
@@ -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 |