@@ -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 |
@@ -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 |