Breaking: #76469 - Doctrine: migrate ext:ImpExp

See forge#76469

Description

The return type of ImportExportController::exec_listQueryPid() has changed. Instead of returning either bool, \mysqli_result or object the return value always is a \Doctrine\DBAL\Driver\Statement.

Impact

Using the mentioned method will not yield the expected result type.

Affected Installations

All installations with a 3rd party extension using ImportExportController::exec_listQueryPid().

Migration

Migrate all calls that work with the result of ImportExportController::exec_listQueryPid() to be able to handle \Doctrine\DBAL\Driver\Statement objects.