From 8c684a6635656f399ce4cb8fbe9e8a8d252cc0e2 Mon Sep 17 00:00:00 2001
From: Anja Leichsenring <aleichsenring@ab-softlab.de>
Date: Thu, 7 Dec 2017 08:46:33 +0100
Subject: [PATCH] [BUGFIX] Correct method name in documentation file

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>
---
 ...-ReturnValueOfexec_QueryOfContentObjectRendererChanged.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 2d38db160934..4f19393657ff 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
     }
-- 
GitLab