#93951QueryBuilder not yet compatible with doctrine/dbal 2.13.x
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.