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 8f2d2b872d9b9bbf085a2db054dc4c28c450e099..e08cad7037d746f2b49818c28ab1b487d2dcf0ac 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