Issue Bug Closed

#93951QueryBuilder not yet compatible with doctrine/dbal 2.13.x

Daniel Siepmann 04/20/21, 06:55 updated 09/07/21, 07:34

Description

The QueryBuilder still has the following return type hint for execute() method:

@return \Doctrine\DBAL\Driver\Statement|int

This should include the new Result return type, see #93848.
Otherwise, developers can’t use the new none deprecated API. It would be reported as none available by static code analysers, even if it’s actually used under the hood.

Reviews 1