From ee7c5e7b7a9a0abcf7224119c24e309c66eced20 Mon Sep 17 00:00:00 2001 From: Benni Mack <benni@typo3.org> Date: Thu, 19 Jul 2018 17:27:44 +0200 Subject: [PATCH] [BUGFIX] Fix typo in RST file Resolves: #85598 Related: #85553 Releases: master Change-Id: Ib5c0a6850c79880eac0eb47dab957083ca328e2b Reviewed-on: https://review.typo3.org/57633 Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by: Daniel Goerz <ervaude@gmail.com> Tested-by: Daniel Goerz <ervaude@gmail.com> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org> --- ...positoryLanguage-relatedMethodsUseNullAsDefaultValue.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-85553-PageRepositoryLanguage-relatedMethodsUseNullAsDefaultValue.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-85553-PageRepositoryLanguage-relatedMethodsUseNullAsDefaultValue.rst index 8f2d2b872d9b..e08cad7037d7 100644 --- a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-85553-PageRepositoryLanguage-relatedMethodsUseNullAsDefaultValue.rst +++ b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-85553-PageRepositoryLanguage-relatedMethodsUseNullAsDefaultValue.rst @@ -9,7 +9,7 @@ See :issue:`85553` Description =========== -The second parameter of the following mwthods now has a different default value (:php:`null`) than +The second parameter of the following methods now have a different default value (:php:`null`) than before (:php:`-1`), to detect if the parameter is omitted or passed in explicitly: * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getPageOverlay()` @@ -32,7 +32,7 @@ TYPO3 installations with custom extensions related to language handling. Migration ========= -In the unlikely case of directly calling this method with :php:`-1`, it is recommended to remove +In the unlikely case of directly calling these methods with :php:`-1`, it is recommended to remove the second (optional) parameter completely, which will work in TYPO3 v8, v9 and in TYPO3 v10. -.. index:: Frontend, PHP-API, NotScanned, ext:frontend \ No newline at end of file +.. index:: Frontend, PHP-API, NotScanned, ext:frontend -- GitLab