Actions
Bug #101938
closedUsage of :php instead of ::class within changelog code example
Status:
Closed
Priority:
Should have
Assignee:
Category:
Documentation
Target version:
Start date:
2023-09-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The example at https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/12.2/Feature-99618-ListOfCountriesInTheWorldAndTheirLocalizedNames.html#feature-99618-1674063182 uses:
$countryProvider = GeneralUtility::makeInstance(CountryProvider:php);
while it should use:
$countryProvider = GeneralUtility::makeInstance(CountryProvider::class);
Actions