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