Completed
Push — master ( 7e191b...5fbcda )
by Nikolay
03:00
created
src/POData/Providers/Metadata/ResourceType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {        
Please login to merge, or discard this patch.
src/POData/Providers/Metadata/Type/DateTime.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/POData/UriProcessor/QueryProcessor/ExpressionParser/ExpressionLexer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
POData/UriProcessor/QueryProcessor/ExpressionParser/ExpressionParser2.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
QueryProcessor/ExpressionParser/Expressions/ArithmeticExpression.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
QueryProcessor/ExpressionParser/Expressions/ConstantExpression.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
QueryProcessor/ExpressionParser/Expressions/PropertyAccessExpression.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * Get the resource type of the property hold by this expression
99 99
      * 
100
-     * @return ResourceType
100
+     * @return \POData\Providers\Metadata\ResourceType
101 101
      */
102 102
     public function getResourceType()
103 103
     {
Please login to merge, or discard this patch.
QueryProcessor/ExpressionParser/Expressions/UnaryExpression.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
     /**
17 17
      * Construct a new instance of UnaryExpression
18 18
      * 
19
-     * @param unknown_type $child    Child expression
19
+     * @param AbstractExpression $child    Child expression
20 20
      * @param unknown_type $nodeType Expression node type
21
-     * @param unknown_type $type     Expression type
21
+     * @param \POData\Providers\Metadata\Type\IType $type     Expression type
22 22
      */
23 23
     public function __construct($child, $nodeType, $type)
24 24
     {
Please login to merge, or discard this patch.
src/POData/UriProcessor/QueryProcessor/FunctionDescription.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /** 
256 256
      * Get function description for string comparison
257 257
      * 
258
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
258
+     * @return FunctionDescription[]
259 259
      */
260 260
     public static function stringComparisonFunctions()
261 261
     {
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     /**
271 271
      * Get function description for datetime comparison
272 272
      * 
273
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
273
+     * @return FunctionDescription[]
274 274
      */
275 275
     public static function dateTimeComparisonFunctions()
276 276
     {
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
     /**
286 286
      * Get function description for guid equality check
287 287
      * 
288
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
288
+     * @return FunctionDescription[]
289 289
      */
290 290
     public static function guidEqualityFunctions()
291 291
     {
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
     /**
301 301
      * Get function description for binary equality check
302 302
      * 
303
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
303
+     * @return FunctionDescription[]
304 304
      */
305 305
     public static function binaryEqualityFunctions()
306 306
     {
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     /**
316 316
      * Get function descriptions for arithmetic operations
317 317
      * 
318
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
318
+     * @return FunctionDescription[]
319 319
      */
320 320
     public static function arithmeticOperationFunctions()
321 321
     {      
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     /**      
351 351
      * Get function descriptions for arithmetic add operations
352 352
      * 
353
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[] indexed by function name
353
+     * @return FunctionDescription[] indexed by function name
354 354
      */
355 355
     public static function addOperationFunctions()
356 356
     {
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     /**
361 361
      * Get function descriptions for arithmetic subtract operations
362 362
      * 
363
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[] indexed by function name
363
+     * @return FunctionDescription[] indexed by function name
364 364
      */
365 365
     public static function subtractOperationFunctions()
366 366
     {
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
     /**      
371 371
      * Get function descriptions for logical operations
372 372
      * 
373
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
373
+     * @return FunctionDescription[]
374 374
      */
375 375
     public static function logicalOperationFunctions()
376 376
     {
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
     /**
386 386
      * Get function descriptions for relational operations
387 387
      * 
388
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
388
+     * @return FunctionDescription[]
389 389
      */
390 390
     public static function relationalOperationFunctions()
391 391
     {
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
     /**
416 416
      * Get function descriptions for unary not operation
417 417
      * 
418
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
418
+     * @return FunctionDescription[]
419 419
      */
420 420
     public static function notOperationFunctions()
421 421
     {
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
     /**      
443 443
      * Get function description for unary negate operator
444 444
      * 
445
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[]
445
+     * @return FunctionDescription[]
446 446
      */
447 447
     public static function negateOperationFunctions()
448 448
     {
@@ -657,7 +657,7 @@  discard block
 block discarded – undo
657 657
      * 
658 658
      * @throws ODataException
659 659
      * 
660
-     * @return \POData\UriProcessor\QueryProcessor\FunctionDescription[] Array of matching functions
660
+     * @return FunctionDescription[] Array of matching functions
661 661
      */
662 662
     public static function verifyFunctionExists($expressionToken)
663 663
     {
Please login to merge, or discard this patch.