diff --git a/lib/Doctrine/ORM/Query/SqlWalker.php b/lib/Doctrine/ORM/Query/SqlWalker.php index e6b962919..75de800ae 100644 --- a/lib/Doctrine/ORM/Query/SqlWalker.php +++ b/lib/Doctrine/ORM/Query/SqlWalker.php @@ -1422,7 +1422,6 @@ class SqlWalker implements TreeWalker break; } - switch (true) { case ($e instanceof AST\PathExpression): $fieldName = $e->field;