Project

General

Profile

Actions

Bug #93951

closed

QueryBuilder not yet compatible with doctrine/dbal 2.13.x

Added by Daniel Siepmann about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Start date:
2021-04-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #93848: Add compatibility with Doctrine DBAL 2.13.xClosedBenni Mack2021-04-01

Actions
Actions

Also available in: Atom PDF