diff --git a/lib/Doctrine/ORM/Query/Expr.php b/lib/Doctrine/ORM/Query/Expr.php index dce4c6044..8967608e2 100644 --- a/lib/Doctrine/ORM/Query/Expr.php +++ b/lib/Doctrine/ORM/Query/Expr.php @@ -75,7 +75,7 @@ class Expr * Creates an ASCending order expression. * * @param $sort - * @return OrderBy + * @return Expr\OrderBy */ public function asc($expr) { @@ -86,7 +86,7 @@ class Expr * Creates a DESCending order expression. * * @param $sort - * @return OrderBy + * @return Expr\OrderBy */ public function desc($expr) { diff --git a/lib/Doctrine/ORM/QueryBuilder.php b/lib/Doctrine/ORM/QueryBuilder.php index 21143214b..c67506d98 100644 --- a/lib/Doctrine/ORM/QueryBuilder.php +++ b/lib/Doctrine/ORM/QueryBuilder.php @@ -119,7 +119,7 @@ class QueryBuilder * For more complex expression construction, consider storing the expression * builder object in a local variable. * - * @return Expr + * @return Query\Expr */ public function expr() {