diff --git a/typo3/sysext/core/Documentation/Changelog/8.4/Breaking-77750-ReturnValueOfexec_QueryOfContentObjectRendererChanged.rst b/typo3/sysext/core/Documentation/Changelog/8.4/Breaking-77750-ReturnValueOfexec_QueryOfContentObjectRendererChanged.rst index 2d38db160934eb6f25ad7ef52dea159f3dd88266..4f19393657ff1bc116c6845ba3cae0210cfd1e96 100644 --- a/typo3/sysext/core/Documentation/Changelog/8.4/Breaking-77750-ReturnValueOfexec_QueryOfContentObjectRendererChanged.rst +++ b/typo3/sysext/core/Documentation/Changelog/8.4/Breaking-77750-ReturnValueOfexec_QueryOfContentObjectRendererChanged.rst @@ -9,7 +9,7 @@ See :issue:`77750` Description =========== -The return type of :php:`ContentObjectRenderer::exec_Query()` has changed. +The return type of :php:`ContentObjectRenderer::exec_getQuery()` has changed. Instead of returning either :php:`bool`, :php:`\mysqli_result` or :php:`object` the return value always is a :php:`\Doctrine\DBAL\Driver\Statement`. @@ -33,7 +33,7 @@ Change the way the result is being used to conform to the Doctrine API: .. code-block:: php - $result = $this->cObj->exec_Query(...); + $result = $this->cObj->exec_getQuery(...); while ($row = $result->fetch()) { // Do something here }