@@ -49,7 +49,7 @@ |
||
49 | 49 | /** |
50 | 50 | * Gets the SQL query. |
51 | 51 | * |
52 | - * @return mixed The built SQL query or an array of all SQL queries. |
|
52 | + * @return string The built SQL query or an array of all SQL queries. |
|
53 | 53 | * |
54 | 54 | * @override |
55 | 55 | */ |
@@ -579,7 +579,7 @@ |
||
579 | 579 | * Internal note: Tried to implement Serializable first but that did not work well |
580 | 580 | * with circular references. This solution seems simpler and works well. |
581 | 581 | * |
582 | - * @return array |
|
582 | + * @return string[] |
|
583 | 583 | */ |
584 | 584 | public function __sleep() |
585 | 585 | { |
@@ -918,7 +918,7 @@ |
||
918 | 918 | * @since 2.5 |
919 | 919 | * |
920 | 920 | * @param string $name The name of the hint. |
921 | - * @param mixed $value The value of the hint. |
|
921 | + * @param string $value The value of the hint. |
|
922 | 922 | */ |
923 | 923 | public function setDefaultQueryHint($name, $value) |
924 | 924 | { |
@@ -620,7 +620,7 @@ |
||
620 | 620 | * Executes the query and returns an IterableResult that can be used to incrementally |
621 | 621 | * iterated over the result. |
622 | 622 | * |
623 | - * @param ArrayCollection|array|null $parameters The query parameters. |
|
623 | + * @param null|ArrayCollection $parameters The query parameters. |
|
624 | 624 | * @param integer $hydrationMode The hydration mode to use. |
625 | 625 | * |
626 | 626 | * @return \Doctrine\ORM\Internal\Hydration\IterableResult |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * Creates an ASCending order expression. |
77 | 77 | * |
78 | - * @param mixed $expr |
|
78 | + * @param string $expr |
|
79 | 79 | * |
80 | 80 | * @return Expr\OrderBy |
81 | 81 | */ |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * Creates a DESCending order expression. |
89 | 89 | * |
90 | - * @param mixed $expr |
|
90 | + * @param string $expr |
|
91 | 91 | * |
92 | 92 | * @return Expr\OrderBy |
93 | 93 | */ |
@@ -125,8 +125,8 @@ discard block |
||
125 | 125 | * // u.id <> ?1 |
126 | 126 | * $q->where($q->expr()->neq('u.id', '?1')); |
127 | 127 | * |
128 | - * @param mixed $x Left expression. |
|
129 | - * @param mixed $y Right expression. |
|
128 | + * @param string $x Left expression. |
|
129 | + * @param string $y Right expression. |
|
130 | 130 | * |
131 | 131 | * @return Expr\Comparison |
132 | 132 | */ |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | /** |
215 | 215 | * Creates an instance of AVG() function, with the given argument. |
216 | 216 | * |
217 | - * @param mixed $x Argument to be used in AVG() function. |
|
217 | + * @param string $x Argument to be used in AVG() function. |
|
218 | 218 | * |
219 | 219 | * @return Expr\Func |
220 | 220 | */ |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | /** |
227 | 227 | * Creates an instance of MAX() function, with the given argument. |
228 | 228 | * |
229 | - * @param mixed $x Argument to be used in MAX() function. |
|
229 | + * @param string $x Argument to be used in MAX() function. |
|
230 | 230 | * |
231 | 231 | * @return Expr\Func |
232 | 232 | */ |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | /** |
239 | 239 | * Creates an instance of MIN() function, with the given argument. |
240 | 240 | * |
241 | - * @param mixed $x Argument to be used in MIN() function. |
|
241 | + * @param string $x Argument to be used in MIN() function. |
|
242 | 242 | * |
243 | 243 | * @return Expr\Func |
244 | 244 | */ |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | /** |
251 | 251 | * Creates an instance of COUNT() function, with the given argument. |
252 | 252 | * |
253 | - * @param mixed $x Argument to be used in COUNT() function. |
|
253 | + * @param string $x Argument to be used in COUNT() function. |
|
254 | 254 | * |
255 | 255 | * @return Expr\Func |
256 | 256 | */ |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | /** |
263 | 263 | * Creates an instance of COUNT(DISTINCT) function, with the given argument. |
264 | 264 | * |
265 | - * @param mixed $x Argument to be used in COUNT(DISTINCT) function. |
|
265 | + * @param string $x Argument to be used in COUNT(DISTINCT) function. |
|
266 | 266 | * |
267 | 267 | * @return string |
268 | 268 | */ |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | /** |
275 | 275 | * Creates an instance of EXISTS() function, with the given DQL Subquery. |
276 | 276 | * |
277 | - * @param mixed $subquery DQL Subquery to be used in EXISTS() function. |
|
277 | + * @param \Doctrine\ORM\QueryBuilder $subquery DQL Subquery to be used in EXISTS() function. |
|
278 | 278 | * |
279 | 279 | * @return Expr\Func |
280 | 280 | */ |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | /** |
299 | 299 | * Creates a SOME() function expression with the given DQL subquery. |
300 | 300 | * |
301 | - * @param mixed $subquery DQL Subquery to be used in SOME() function. |
|
301 | + * @param \Doctrine\ORM\QueryBuilder $subquery DQL Subquery to be used in SOME() function. |
|
302 | 302 | * |
303 | 303 | * @return Expr\Func |
304 | 304 | */ |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | /** |
311 | 311 | * Creates an ANY() function expression with the given DQL subquery. |
312 | 312 | * |
313 | - * @param mixed $subquery DQL Subquery to be used in ANY() function. |
|
313 | + * @param \Doctrine\ORM\QueryBuilder $subquery DQL Subquery to be used in ANY() function. |
|
314 | 314 | * |
315 | 315 | * @return Expr\Func |
316 | 316 | */ |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | /** |
335 | 335 | * Creates an ABS() function expression with the given argument. |
336 | 336 | * |
337 | - * @param mixed $x Argument to be used in ABS() function. |
|
337 | + * @param integer $x Argument to be used in ABS() function. |
|
338 | 338 | * |
339 | 339 | * @return Expr\Func |
340 | 340 | */ |
@@ -353,8 +353,8 @@ discard block |
||
353 | 353 | * // u.salary * u.percentAnnualSalaryIncrease |
354 | 354 | * $q->expr()->prod('u.salary', 'u.percentAnnualSalaryIncrease') |
355 | 355 | * |
356 | - * @param mixed $x Left expression. |
|
357 | - * @param mixed $y Right expression. |
|
356 | + * @param integer $x Left expression. |
|
357 | + * @param integer $y Right expression. |
|
358 | 358 | * |
359 | 359 | * @return Expr\Math |
360 | 360 | */ |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | * // u.monthlySubscriptionCount - 1 |
373 | 373 | * $q->expr()->diff('u.monthlySubscriptionCount', '1') |
374 | 374 | * |
375 | - * @param mixed $x Left expression. |
|
375 | + * @param integer $x Left expression. |
|
376 | 376 | * @param mixed $y Right expression. |
377 | 377 | * |
378 | 378 | * @return Expr\Math |
@@ -391,8 +391,8 @@ discard block |
||
391 | 391 | * // u.numChildren + 1 |
392 | 392 | * $q->expr()->sum('u.numChildren', '1') |
393 | 393 | * |
394 | - * @param mixed $x Left expression. |
|
395 | - * @param mixed $y Right expression. |
|
394 | + * @param integer $x Left expression. |
|
395 | + * @param integer $y Right expression. |
|
396 | 396 | * |
397 | 397 | * @return Expr\Math |
398 | 398 | */ |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | * $expr->quot('u.total', 'u.period') |
412 | 412 | * |
413 | 413 | * @param mixed $x Left expression. |
414 | - * @param mixed $y Right expression. |
|
414 | + * @param integer $y Right expression. |
|
415 | 415 | * |
416 | 416 | * @return Expr\Math |
417 | 417 | */ |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | /** |
424 | 424 | * Creates a SQRT() function expression with the given argument. |
425 | 425 | * |
426 | - * @param mixed $x Argument to be used in SQRT() function. |
|
426 | + * @param integer $x Argument to be used in SQRT() function. |
|
427 | 427 | * |
428 | 428 | * @return Expr\Func |
429 | 429 | */ |
@@ -502,7 +502,7 @@ discard block |
||
502 | 502 | * Creates a LIKE() comparison expression with the given arguments. |
503 | 503 | * |
504 | 504 | * @param string $x Field in string format to be inspected by LIKE() comparison. |
505 | - * @param mixed $y Argument to be used in LIKE() comparison. |
|
505 | + * @param string $y Argument to be used in LIKE() comparison. |
|
506 | 506 | * |
507 | 507 | * @return Expr\Comparison |
508 | 508 | */ |
@@ -515,7 +515,7 @@ discard block |
||
515 | 515 | * Creates a NOT LIKE() comparison expression with the given arguments. |
516 | 516 | * |
517 | 517 | * @param string $x Field in string format to be inspected by LIKE() comparison. |
518 | - * @param mixed $y Argument to be used in LIKE() comparison. |
|
518 | + * @param string $y Argument to be used in LIKE() comparison. |
|
519 | 519 | * |
520 | 520 | * @return Expr\Comparison |
521 | 521 | */ |
@@ -527,8 +527,8 @@ discard block |
||
527 | 527 | /** |
528 | 528 | * Creates a CONCAT() function expression with the given arguments. |
529 | 529 | * |
530 | - * @param mixed $x First argument to be used in CONCAT() function. |
|
531 | - * @param mixed $y,... Other arguments to be used in CONCAT() function. |
|
530 | + * @param string $x First argument to be used in CONCAT() function. |
|
531 | + * @param string $y |
|
532 | 532 | * |
533 | 533 | * @return Expr\Func |
534 | 534 | */ |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | /** |
541 | 541 | * Creates a SUBSTRING() function expression with the given arguments. |
542 | 542 | * |
543 | - * @param mixed $x Argument to be used as string to be cropped by SUBSTRING() function. |
|
543 | + * @param string $x Argument to be used as string to be cropped by SUBSTRING() function. |
|
544 | 544 | * @param int $from Initial offset to start cropping string. May accept negative values. |
545 | 545 | * @param int|null $len Length of crop. May accept negative values. |
546 | 546 | * |
@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | /** |
560 | 560 | * Creates a LOWER() function expression with the given argument. |
561 | 561 | * |
562 | - * @param mixed $x Argument to be used in LOWER() function. |
|
562 | + * @param string $x Argument to be used in LOWER() function. |
|
563 | 563 | * |
564 | 564 | * @return Expr\Func A LOWER function expression. |
565 | 565 | */ |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | /** |
572 | 572 | * Creates an UPPER() function expression with the given argument. |
573 | 573 | * |
574 | - * @param mixed $x Argument to be used in UPPER() function. |
|
574 | + * @param string $x Argument to be used in UPPER() function. |
|
575 | 575 | * |
576 | 576 | * @return Expr\Func An UPPER function expression. |
577 | 577 | */ |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | /** |
584 | 584 | * Creates a LENGTH() function expression with the given argument. |
585 | 585 | * |
586 | - * @param mixed $x Argument to be used as argument of LENGTH() function. |
|
586 | + * @param string $x Argument to be used as argument of LENGTH() function. |
|
587 | 587 | * |
588 | 588 | * @return Expr\Func A LENGTH function expression. |
589 | 589 | */ |
@@ -625,11 +625,11 @@ discard block |
||
625 | 625 | /** |
626 | 626 | * Creates an instance of BETWEEN() function, with the given argument. |
627 | 627 | * |
628 | - * @param mixed $val Valued to be inspected by range values. |
|
628 | + * @param string $val Valued to be inspected by range values. |
|
629 | 629 | * @param integer $x Starting range value to be used in BETWEEN() function. |
630 | 630 | * @param integer $y End point value to be used in BETWEEN() function. |
631 | 631 | * |
632 | - * @return Expr\Func A BETWEEN expression. |
|
632 | + * @return string A BETWEEN expression. |
|
633 | 633 | */ |
634 | 634 | public function between($val, $x, $y) |
635 | 635 | { |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | /** |
640 | 640 | * Creates an instance of TRIM() function, with the given argument. |
641 | 641 | * |
642 | - * @param mixed $x Argument to be used as argument of TRIM() function. |
|
642 | + * @param string $x Argument to be used as argument of TRIM() function. |
|
643 | 643 | * |
644 | 644 | * @return Expr\Func a TRIM expression. |
645 | 645 | */ |
@@ -606,7 +606,7 @@ discard block |
||
606 | 606 | /** |
607 | 607 | * Gets a (previously set) query parameter of the query being constructed. |
608 | 608 | * |
609 | - * @param mixed $key The key (index or name) of the bound parameter. |
|
609 | + * @param string $key The key (index or name) of the bound parameter. |
|
610 | 610 | * |
611 | 611 | * @return Query\Parameter|null The value of the bound parameter. |
612 | 612 | */ |
@@ -794,7 +794,7 @@ discard block |
||
794 | 794 | * ->leftJoin('u.Phonenumbers', 'p'); |
795 | 795 | * </code> |
796 | 796 | * |
797 | - * @param mixed $select The selection expression. |
|
797 | + * @param string $select The selection expression. |
|
798 | 798 | * |
799 | 799 | * @return self |
800 | 800 | */ |
@@ -1094,7 +1094,6 @@ discard block |
||
1094 | 1094 | * ->andWhere('u.is_active = 1'); |
1095 | 1095 | * </code> |
1096 | 1096 | * |
1097 | - * @param mixed $where The query restrictions. |
|
1098 | 1097 | * |
1099 | 1098 | * @return self |
1100 | 1099 | * |
@@ -1127,7 +1126,6 @@ discard block |
||
1127 | 1126 | * ->orWhere('u.id = 2'); |
1128 | 1127 | * </code> |
1129 | 1128 | * |
1130 | - * @param mixed $where The WHERE statement. |
|
1131 | 1129 | * |
1132 | 1130 | * @return self |
1133 | 1131 | * |
@@ -1192,7 +1190,7 @@ discard block |
||
1192 | 1190 | * Specifies a restriction over the groups of the query. |
1193 | 1191 | * Replaces any previous having restrictions, if any. |
1194 | 1192 | * |
1195 | - * @param mixed $having The restriction over the groups. |
|
1193 | + * @param string $having The restriction over the groups. |
|
1196 | 1194 | * |
1197 | 1195 | * @return self |
1198 | 1196 | */ |
@@ -1209,7 +1207,7 @@ discard block |
||
1209 | 1207 | * Adds a restriction over the groups of the query, forming a logical |
1210 | 1208 | * conjunction with any existing having restrictions. |
1211 | 1209 | * |
1212 | - * @param mixed $having The restriction to append. |
|
1210 | + * @param string $having The restriction to append. |
|
1213 | 1211 | * |
1214 | 1212 | * @return self |
1215 | 1213 | */ |
@@ -1232,7 +1230,7 @@ discard block |
||
1232 | 1230 | * Adds a restriction over the groups of the query, forming a logical |
1233 | 1231 | * disjunction with any existing having restrictions. |
1234 | 1232 | * |
1235 | - * @param mixed $having The restriction to add. |
|
1233 | + * @param string $having The restriction to add. |
|
1236 | 1234 | * |
1237 | 1235 | * @return self |
1238 | 1236 | */ |
@@ -1451,7 +1449,7 @@ discard block |
||
1451 | 1449 | /** |
1452 | 1450 | * Resets DQL parts. |
1453 | 1451 | * |
1454 | - * @param array|null $parts |
|
1452 | + * @param string[] $parts |
|
1455 | 1453 | * |
1456 | 1454 | * @return self |
1457 | 1455 | */ |
@@ -57,7 +57,7 @@ |
||
57 | 57 | /** |
58 | 58 | * Constructor. |
59 | 59 | * |
60 | - * @param Query|QueryBuilder $query A Doctrine ORM query or query builder. |
|
60 | + * @param Query $query A Doctrine ORM query or query builder. |
|
61 | 61 | * @param boolean $fetchJoinCollection Whether the query joins a collection (true by default). |
62 | 62 | */ |
63 | 63 | public function __construct($query, $fetchJoinCollection = true) |
@@ -1237,7 +1237,7 @@ discard block |
||
1237 | 1237 | /** |
1238 | 1238 | * Schedules an entity for being updated. |
1239 | 1239 | * |
1240 | - * @param object $entity The entity to schedule for being updated. |
|
1240 | + * @param \Doctrine\Tests\Models\Forum\ForumUser $entity The entity to schedule for being updated. |
|
1241 | 1241 | * |
1242 | 1242 | * @return void |
1243 | 1243 | * |
@@ -1305,7 +1305,7 @@ discard block |
||
1305 | 1305 | /** |
1306 | 1306 | * Checks whether an entity is registered to be checked in the unit of work. |
1307 | 1307 | * |
1308 | - * @param object $entity |
|
1308 | + * @param \Doctrine\Tests\ORM\NotifyChangedEntity $entity |
|
1309 | 1309 | * |
1310 | 1310 | * @return boolean |
1311 | 1311 | */ |
@@ -3121,7 +3121,7 @@ discard block |
||
3121 | 3121 | * |
3122 | 3122 | * @param object $entity The entity that owns the property. |
3123 | 3123 | * @param string $propertyName The name of the property that changed. |
3124 | - * @param mixed $oldValue The old value of the property. |
|
3124 | + * @param null|integer $oldValue The old value of the property. |
|
3125 | 3125 | * @param mixed $newValue The new value of the property. |
3126 | 3126 | * |
3127 | 3127 | * @return void |
@@ -3321,7 +3321,7 @@ discard block |
||
3321 | 3321 | /** |
3322 | 3322 | * Verifies if two given entities actually are the same based on identifier comparison |
3323 | 3323 | * |
3324 | - * @param object $entity1 |
|
3324 | + * @param Proxy $entity1 |
|
3325 | 3325 | * @param object $entity2 |
3326 | 3326 | * |
3327 | 3327 | * @return bool |
@@ -38,7 +38,6 @@ |
||
38 | 38 | * Dequeue an exception for a specific method invocation |
39 | 39 | * |
40 | 40 | * @param string $method |
41 | - * @param mixed $default |
|
42 | 41 | * |
43 | 42 | * @return mixed |
44 | 43 | */ |