@@ -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 | { |
@@ -412,7 +412,7 @@ discard block |
||
412 | 412 | * declarations (from ... x join ... y join ... z ...) appear in the query |
413 | 413 | * as the hydration process relies on that order for proper operation. |
414 | 414 | * |
415 | - * @param AST\SelectStatement|AST\DeleteStatement|AST\UpdateStatement $AST |
|
415 | + * @param AST\SelectStatement $AST |
|
416 | 416 | * |
417 | 417 | * @return void |
418 | 418 | */ |
@@ -748,7 +748,7 @@ discard block |
||
748 | 748 | * SingleValuedAssociationPathExpression ::= IdentificationVariable "." SingleValuedAssociationField |
749 | 749 | * CollectionValuedPathExpression ::= IdentificationVariable "." CollectionValuedAssociationField |
750 | 750 | * |
751 | - * @param mixed $AST |
|
751 | + * @param AST\SelectStatement $AST |
|
752 | 752 | * |
753 | 753 | * @return void |
754 | 754 | */ |
@@ -1622,7 +1622,7 @@ discard block |
||
1622 | 1622 | * accessible is "FROM", prohibiting an easy implementation without larger |
1623 | 1623 | * changes.} |
1624 | 1624 | * |
1625 | - * @return \Doctrine\ORM\Query\AST\SubselectIdentificationVariableDeclaration | |
|
1625 | + * @return AST\IdentificationVariableDeclaration | |
|
1626 | 1626 | * \Doctrine\ORM\Query\AST\IdentificationVariableDeclaration |
1627 | 1627 | */ |
1628 | 1628 | public function SubselectIdentificationVariableDeclaration() |
@@ -1760,7 +1760,7 @@ discard block |
||
1760 | 1760 | /** |
1761 | 1761 | * JoinAssociationDeclaration ::= JoinAssociationPathExpression ["AS"] AliasIdentificationVariable [IndexBy] |
1762 | 1762 | * |
1763 | - * @return \Doctrine\ORM\Query\AST\JoinAssociationPathExpression |
|
1763 | + * @return AST\JoinAssociationDeclaration |
|
1764 | 1764 | */ |
1765 | 1765 | public function JoinAssociationDeclaration() |
1766 | 1766 | { |
@@ -1798,7 +1798,7 @@ discard block |
||
1798 | 1798 | * PartialObjectExpression ::= "PARTIAL" IdentificationVariable "." PartialFieldSet |
1799 | 1799 | * PartialFieldSet ::= "{" SimpleStateField {"," SimpleStateField}* "}" |
1800 | 1800 | * |
1801 | - * @return array |
|
1801 | + * @return AST\PartialObjectExpression |
|
1802 | 1802 | */ |
1803 | 1803 | public function PartialObjectExpression() |
1804 | 1804 | { |
@@ -2877,7 +2877,7 @@ discard block |
||
2877 | 2877 | /** |
2878 | 2878 | * StringExpression ::= StringPrimary | ResultVariable | "(" Subselect ")" |
2879 | 2879 | * |
2880 | - * @return \Doctrine\ORM\Query\AST\StringPrimary | |
|
2880 | + * @return null|AST\Node | |
|
2881 | 2881 | * \Doctrine\ORM\Query\AST\Subselect | |
2882 | 2882 | * string |
2883 | 2883 | */ |
@@ -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 | */ |
@@ -211,6 +211,7 @@ |
||
211 | 211 | |
212 | 212 | /** |
213 | 213 | * {@inheritdoc} |
214 | + * @return boolean |
|
214 | 215 | */ |
215 | 216 | public function evictAll() |
216 | 217 | { |
@@ -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 | { |