diff --git a/lib/Doctrine/ORM/Query/Parser.php b/lib/Doctrine/ORM/Query/Parser.php index 4cfe233a1ed..7e69b4865d0 100644 --- a/lib/Doctrine/ORM/Query/Parser.php +++ b/lib/Doctrine/ORM/Query/Parser.php @@ -2566,8 +2566,7 @@ public function ConditionalPrimary() * EmptyCollectionComparisonExpression | CollectionMemberExpression | * InstanceOfExpression * - * @return AST\Node - * @psalm-return AST\BetweenExpression| + * @return (AST\BetweenExpression| * AST\CollectionMemberExpression| * AST\ComparisonExpression| * AST\EmptyCollectionComparisonExpression| @@ -2575,7 +2574,7 @@ public function ConditionalPrimary() * AST\InExpression| * AST\InstanceOfExpression| * AST\LikeExpression| - * AST\NullComparisonExpression + * AST\NullComparisonExpression) */ public function SimpleConditionalExpression() { diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 249630341bb..e24083e4046 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -2008,19 +2008,10 @@ $factors[0] $primary $terms[0] - CollectionMemberExpression()]]> - ComparisonExpression()]]> - EmptyCollectionComparisonExpression()]]> - ExistsExpression()]]> - InExpression()]]> - InstanceOfExpression()]]> - LikeExpression()]]> - NullComparisonExpression()]]> AST\ArithmeticFactor AST\ArithmeticTerm - AST\BetweenExpression| AST\SimpleArithmeticExpression|AST\ArithmeticTerm