mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #11298] Fix sqlWalker::walkSimpleArithmeticExpression phpdoc #12925
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/11298
State: closed
Merged: Yes
Compatibility with ORM 2 & 3 is not always easy with the different phpdoc/typehint on SQLWalker (and static analysis).
walkSimpleArithmeticExpressionphpdoc only acceptsSimpleArithmeticExpressionon 2.x but in fact support a wilder type Node|string ; and the type was updated on 3.x branch.I took the typehint from the 3.x branch
2a250b5814/src/Query/SqlWalker.php (L2127)to update the phpdoc on 2.x branch.This also fixes 7 baselines entries