@@ -419,7 +419,7 @@ discard block |
||
| 419 | 419 | * used for generating $skiptoken. |
| 420 | 420 | * @param string $absoluteUri Absolute response URI. |
| 421 | 421 | * |
| 422 | - * @return URI for the link for next page. |
|
| 422 | + * @return ODataLink for the link for next page. |
|
| 423 | 423 | */ |
| 424 | 424 | protected function getNextLinkUri(&$lastObject, $absoluteUri) |
| 425 | 425 | { |
@@ -632,6 +632,8 @@ discard block |
||
| 632 | 632 | * true if any expansion |
| 633 | 633 | * defined under this node |
| 634 | 634 | * false otherwise. |
| 635 | + * @param boolean $foundSelections |
|
| 636 | + * @param boolean $foundExpansions |
|
| 635 | 637 | * |
| 636 | 638 | * @return void |
| 637 | 639 | */ |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | /** |
| 275 | 275 | * To set custom state object for this type |
| 276 | 276 | * |
| 277 | - * @param Object $object The custom object. |
|
| 277 | + * @param ResourceSet $object The custom object. |
|
| 278 | 278 | * |
| 279 | 279 | * @return void |
| 280 | 280 | */ |
@@ -696,7 +696,7 @@ discard block |
||
| 696 | 696 | * |
| 697 | 697 | * @param array &$arrayToDetectLoopInComplexType array for detecting loop. |
| 698 | 698 | * |
| 699 | - * @return boolean true if resource type instance has bag property else false |
|
| 699 | + * @return boolean|null true if resource type instance has bag property else false |
|
| 700 | 700 | */ |
| 701 | 701 | public function hasBagProperty(&$arrayToDetectLoopInComplexType) |
| 702 | 702 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * |
| 126 | 126 | * @param string $dateTime datetime to get the year from |
| 127 | 127 | * |
| 128 | - * @return int |
|
| 128 | + * @return string |
|
| 129 | 129 | */ |
| 130 | 130 | public static function year($dateTime) |
| 131 | 131 | { |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | * |
| 139 | 139 | * @param string $dateTime datetime to get the month from |
| 140 | 140 | * |
| 141 | - * @return int |
|
| 141 | + * @return string |
|
| 142 | 142 | */ |
| 143 | 143 | public static function month($dateTime) |
| 144 | 144 | { |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * |
| 152 | 152 | * @param string $dateTime datetime to get the day from |
| 153 | 153 | * |
| 154 | - * @return int |
|
| 154 | + * @return string |
|
| 155 | 155 | */ |
| 156 | 156 | public static function day($dateTime) |
| 157 | 157 | { |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | * |
| 165 | 165 | * @param string $dateTime datetime to get the hour from |
| 166 | 166 | * |
| 167 | - * @return int |
|
| 167 | + * @return string |
|
| 168 | 168 | */ |
| 169 | 169 | public static function hour($dateTime) |
| 170 | 170 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | * |
| 178 | 178 | * @param string $dateTime datetime to get the minute from |
| 179 | 179 | * |
| 180 | - * @return int |
|
| 180 | + * @return string |
|
| 181 | 181 | */ |
| 182 | 182 | public static function minute($dateTime) |
| 183 | 183 | { |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * |
| 191 | 191 | * @param string $dateTime datetime to get the second from |
| 192 | 192 | * |
| 193 | - * @return int |
|
| 193 | + * @return string |
|
| 194 | 194 | */ |
| 195 | 195 | public static function second($dateTime) |
| 196 | 196 | { |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | * @param ResourceType $resourceType The resource type to start looking |
| 551 | 551 | * @param ResourceProperty $resourceProperty The resource property in question |
| 552 | 552 | * |
| 553 | - * @return ResourceType|null Returns reference to the ResourceType on which |
|
| 553 | + * @return ResourceType Returns reference to the ResourceType on which |
|
| 554 | 554 | * the $resourceProperty is declared, NULL if |
| 555 | 555 | * $resourceProperty is not declared anywhere |
| 556 | 556 | * in the inheritance hierarchy |
@@ -605,6 +605,10 @@ discard block |
||
| 605 | 605 | } |
| 606 | 606 | |
| 607 | 607 | |
| 608 | + /** |
|
| 609 | + * @param QueryResult $queryResult |
|
| 610 | + * @param string $methodName |
|
| 611 | + */ |
|
| 608 | 612 | private function ValidateQueryResult($queryResult, QueryType $queryType, $methodName){ |
| 609 | 613 | if (!$queryResult instanceof QueryResult) { |
| 610 | 614 | throw ODataException::createInternalServerError( |
@@ -281,7 +281,7 @@ |
||
| 281 | 281 | * Gets the sort information associated with the expanded navigation |
| 282 | 282 | * property or root of 'Projection Tree'. |
| 283 | 283 | * |
| 284 | - * @return InternalOrderByInfo|null |
|
| 284 | + * @return InternalOrderByInfo |
|
| 285 | 285 | */ |
| 286 | 286 | public function getInternalOrderByInfo() |
| 287 | 287 | { |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | /** |
| 118 | 118 | * To get the text being parsed |
| 119 | 119 | * |
| 120 | - * @return string |
|
| 120 | + * @return char[] |
|
| 121 | 121 | */ |
| 122 | 122 | public function getExpressionText() |
| 123 | 123 | { |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | * @param ArithmeticExpression $expression The arithmetic expression node |
| 177 | 177 | * to process. |
| 178 | 178 | * |
| 179 | - * @return LogicalExpression|null |
|
| 179 | + * @return AbstractExpression|null |
|
| 180 | 180 | */ |
| 181 | 181 | private function _processArithmeticNode(ArithmeticExpression $expression) |
| 182 | 182 | { |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | * @param AbstractExpression $parentExpression The parent expression of |
| 211 | 211 | * expression node to process. |
| 212 | 212 | * |
| 213 | - * @return LogicalExpression|null |
|
| 213 | + * @return null|AbstractExpression |
|
| 214 | 214 | */ |
| 215 | 215 | private function _processFunctionCallNode(FunctionCallExpression $expression, |
| 216 | 216 | $parentExpression |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | * @param AbstractExpression $parentExpression The parent expression of |
| 262 | 262 | * expression node to process. |
| 263 | 263 | * |
| 264 | - * @return LogicalExpression|null |
|
| 264 | + * @return null|AbstractExpression |
|
| 265 | 265 | */ |
| 266 | 266 | private function _processLogicalNode( |
| 267 | 267 | LogicalExpression $expression, $parentExpression |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | * @param AbstractExpression $parentExpression The parent expression of |
| 365 | 365 | * expression node to process. |
| 366 | 366 | * |
| 367 | - * @return LogicalExpression|null |
|
| 367 | + * @return null|AbstractExpression |
|
| 368 | 368 | */ |
| 369 | 369 | private function _processRelationalNode(RelationalExpression $expression, |
| 370 | 370 | $parentExpression |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | * @param AbstractExpression $parentExpression The parent expression of |
| 412 | 412 | * expression node to process. |
| 413 | 413 | * |
| 414 | - * @return LogicalExpression|null |
|
| 414 | + * @return AbstractExpression|null |
|
| 415 | 415 | */ |
| 416 | 416 | private function _processUnaryNode(UnaryExpression $expression, |
| 417 | 417 | $parentExpression |
@@ -454,7 +454,7 @@ discard block |
||
| 454 | 454 | * @param AbstractExpression $nullCheckExpTree1 First expression. |
| 455 | 455 | * @param AbstractExpression $nullCheckExpTree2 Second expression. |
| 456 | 456 | * |
| 457 | - * @return UnaryExpression|LogicalExpression |
|
| 457 | + * @return AbstractExpression |
|
| 458 | 458 | */ |
| 459 | 459 | private function _mergeNullableExpressionTrees($nullCheckExpTree1, |
| 460 | 460 | $nullCheckExpTree2 |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * @param AbstractExpression $left left expression |
| 18 | 18 | * @param AbstractExpression $right right Expression |
| 19 | 19 | * @param ExpressionType $nodeType Expression node type |
| 20 | - * @param IType $type Expression type |
|
| 20 | + * @param \POData\Providers\Metadata\Type\IType $type Expression type |
|
| 21 | 21 | */ |
| 22 | 22 | public function __construct($left, $right, $nodeType, $type) |
| 23 | 23 | { |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * Create new inatnce of ConstantExpression. |
| 19 | 19 | * |
| 20 | 20 | * @param string $value The constant value |
| 21 | - * @param IType $type The expression node type |
|
| 21 | + * @param \POData\Providers\Metadata\Type\IType $type The expression node type |
|
| 22 | 22 | */ |
| 23 | 23 | public function __construct($value, $type) |
| 24 | 24 | { |