@@ -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( |
@@ -623,7 +623,7 @@ discard block |
||
623 | 623 | * @param InternalOrderByInfo $orderBy The orderBy information |
624 | 624 | * @param int $top The top count |
625 | 625 | * @param int $skip The skip count |
626 | - * @param InternalSkipTokenInfo $skipToken The skip token |
|
626 | + * @param SkipTokenInfo $skipToken The skip token |
|
627 | 627 | * |
628 | 628 | * @return QueryResult |
629 | 629 | */ |
@@ -826,7 +826,7 @@ discard block |
||
826 | 826 | |
827 | 827 | /** |
828 | 828 | * @param ResourceSet $resourceSet The entity set containing the entity to fetch |
829 | - * @param object $sourceEntityInstance The source entity instance |
|
829 | + * @param KeyDescriptor $sourceEntityInstance The source entity instance |
|
830 | 830 | * @param object $data The New data for the entity instance. |
831 | 831 | * |
832 | 832 | * returns object|null returns the newly created model if sucessful or null if model creation failed. |
@@ -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)) { |