#78096\TYPO3\CMS\Backend\View\PageLayoutView::getResult is incompatible to DatabaseConnection usage
Description
Having an extension which is not migrated to Doctrine currently, it is impossible to use the function \TYPO3\CMS\Backend\View\PageLayoutView::getResult as it expects a Doctrine statement object.
As this public function executes some internal (protected) logic it should be compatible with both, Doctrine and mysqli_result objects.