@@ -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) { |
@@ -804,7 +804,7 @@ |
||
| 804 | 804 | |
| 805 | 805 | /** |
| 806 | 806 | * @param ResourceSet $resourceSet The entity set containing the entity to fetch |
| 807 | - * @param object $sourceEntityInstance The source entity instance |
|
| 807 | + * @param KeyDescriptor $sourceEntityInstance The source entity instance |
|
| 808 | 808 | * @param object $data The New data for the entity instance. |
| 809 | 809 | * |
| 810 | 810 | * returns object|null returns the newly created model if sucessful or null if model creation failed. |
@@ -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( |