[BUGFIX] Correct method name in documentation file 54/54954/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 7 Dec 2017 07:46:33 +0000 (08:46 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 7 Dec 2017 08:10:06 +0000 (09:10 +0100)
The mentioned method to be changed was mistyped.
The name given in the rst file doesn't exist.

Resolves: #77750
Releases: master, 8.7
Change-Id: Ic64590c8ffa3826dd3c5db5365e0c5273e897824
Reviewed-on: https://review.typo3.org/54954
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Documentation/Changelog/8.4/Breaking-77750-ReturnValueOfexec_QueryOfContentObjectRendererChanged.rst

index 2d38db1..4f19393 100644 (file)
@@ -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
     }