@@ -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 |
@@ -70,8 +70,6 @@ |
||
70 | 70 | * Returns a join column name for a property. |
71 | 71 | * |
72 | 72 | * @param string $propertyName A property name. |
73 | - * @param string|null $className The fully-qualified class name. |
|
74 | - * This parameter is omitted from the signature due to BC |
|
75 | 73 | * |
76 | 74 | * @return string A join column name. |
77 | 75 | */ |
@@ -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 | { |
@@ -389,7 +389,7 @@ |
||
389 | 389 | /** |
390 | 390 | * Adds a metadata parameter mappings. |
391 | 391 | * |
392 | - * @param mixed $parameter The parameter name in the SQL result set. |
|
392 | + * @param string $parameter The parameter name in the SQL result set. |
|
393 | 393 | * @param string $attribute The metadata attribute. |
394 | 394 | */ |
395 | 395 | public function addMetadataParameterMapping($parameter, $attribute) |
@@ -1529,6 +1529,7 @@ |
||
1529 | 1529 | |
1530 | 1530 | /** |
1531 | 1531 | * @param AST\NewObjectExpression $newObjectExpression |
1532 | + * @param string $newObjectResultAlias |
|
1532 | 1533 | * |
1533 | 1534 | * @return string The SQL. |
1534 | 1535 | */ |
@@ -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 | */ |