Breaking: #76259 - Signature of getResult() in PageLayoutView changed
See forge#76259
Description
As part of migrating the core code to use Doctrine DBAL the signature of the method
Page has changed.
Instead of accepting
bool,
\mysqli_ or
object as a
result provider only
\Doctrine\ objects are accepted.
The new signature is:
public function getResult(\Doctrine\DBAL\Driver\Statement $result, string $table = 'tt_content') : array
{
}
Impact
3rd party extensions using
Page need to provide the correct
input type, otherwise exceptions of type
Invalid will be thrown.
Affected Installations
Installations using 3rd party extensions that use
Page.
Migration
Refactor all code that works with
Page to provide the expected
Doctrine Statement object.