@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * @param QueryType $queryType indicates if this is a query for a count, entities, or entities with a count |
| 38 | 38 | * @param ResourceSet $resourceSet The entity set containing the entities to fetch |
| 39 | 39 | * @param FilterInfo $filterInfo represents the $filter parameter of the OData query. NULL if no $filter specified |
| 40 | - * @param mixed $orderBy sorted order if we want to get the data in some specific order |
|
| 40 | + * @param null|\POData\UriProcessor\QueryProcessor\OrderByParser\InternalOrderByInfo $orderBy sorted order if we want to get the data in some specific order |
|
| 41 | 41 | * @param int $top number of records which need to be skip |
| 42 | 42 | * @param string $skipToken value indicating what records to skip |
| 43 | 43 | * |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | |
| 4 | 4 | class XML2Array |
| 5 | 5 | { |
| 6 | - /** |
|
| 6 | + /** |
|
| 7 | 7 | * @var string |
| 8 | 8 | */ |
| 9 | 9 | private static $encoding = 'UTF-8'; |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | /** |
| 15 | 15 | * Convert an XML to Array. |
| 16 | 16 | * |
| 17 | - * @param string|\DOMDocument $input_xml |
|
| 17 | + * @param string $input_xml |
|
| 18 | 18 | * |
| 19 | 19 | * @return array |
| 20 | 20 | * |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @param DOMNode $feed |
|
| 84 | + * @param \DOMNode $feed |
|
| 85 | 85 | */ |
| 86 | 86 | protected function EnumerateFeed($feed, &$feedType, $parentObject = null) |
| 87 | 87 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * @param DOMNode $entry |
|
| 121 | + * @param \DOMNode $entry |
|
| 122 | 122 | */ |
| 123 | 123 | protected function EnumerateEntry($entry, &$entityType, $parentObject = null) |
| 124 | 124 | { |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | } |
| 204 | 204 | |
| 205 | 205 | /** |
| 206 | - * @param DOMNodeList $links |
|
| 206 | + * @param \DOMNodeList $links |
|
| 207 | 207 | */ |
| 208 | 208 | protected function GetRelatedLinks($links) |
| 209 | 209 | { |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | 'default' => 'http://www.w3.org/2005/Atom', |
| 15 | 15 | 'd' => 'http://schemas.microsoft.com/ado/2007/08/dataservices', |
| 16 | 16 | 'm' => 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' |
| 17 | - ); |
|
| 17 | + ); |
|
| 18 | 18 | protected static $QUERY_ROOT_FEED = '/default:feed'; |
| 19 | 19 | protected static $QUERY_ROOT_ENTRY = '/default:entry'; |
| 20 | 20 | protected static $QUERY_TITLE = 'default:title'; |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | ($attributes['EdmType'] == 'Edm.Int16' || |
| 346 | 346 | $attributes['EdmType'] == 'Edm.Int32' || |
| 347 | 347 | $attributes['EdmType'] == 'Edm.Int64')))) { |
| 348 | - $value = '0'; |
|
| 348 | + $value = '0'; |
|
| 349 | 349 | } |
| 350 | 350 | } else { |
| 351 | 351 | $value = null; |