@@ -282,7 +282,7 @@ |
||
| 282 | 282 | /** |
| 283 | 283 | * Generates a string of currently query |
| 284 | 284 | * |
| 285 | - * @param array $query |
|
| 285 | + * @param string $query |
|
| 286 | 286 | * @param string $criteria |
| 287 | 287 | * @param array $orderBy |
| 288 | 288 | * @param integer $limit |
@@ -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 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * Adds Index. |
| 145 | 145 | * |
| 146 | - * @param array $columns |
|
| 146 | + * @param string[] $columns |
|
| 147 | 147 | * @param string $name |
| 148 | 148 | * |
| 149 | 149 | * @return ClassMetadataBuilder |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | /** |
| 163 | 163 | * Adds Unique Constraint. |
| 164 | 164 | * |
| 165 | - * @param array $columns |
|
| 165 | + * @param string[] $columns |
|
| 166 | 166 | * @param string $name |
| 167 | 167 | * |
| 168 | 168 | * @return ClassMetadataBuilder |
@@ -180,7 +180,7 @@ |
||
| 180 | 180 | * Sets an option. |
| 181 | 181 | * |
| 182 | 182 | * @param string $name |
| 183 | - * @param mixed $value |
|
| 183 | + * @param boolean $value |
|
| 184 | 184 | * |
| 185 | 185 | * @return FieldBuilder |
| 186 | 186 | */ |
@@ -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 |
@@ -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) |