Skip to content

Commit

Permalink
[DOCS] Fix wrong code example using :php instead of ::class
Browse files Browse the repository at this point in the history
Resolves: #101938
Releases: main, 12.4
Change-Id: I8def061d7188a4d247a832247c01cdddd745c7dc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81054
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
DanielSiepmann authored and o-ba committed Sep 18, 2023
1 parent 7435c0e commit 75a00e5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ It is now possible to load a list of all countries via PHP:
use TYPO3\CMS\Core\Utility\GeneralUtility;
$countryProvider = GeneralUtility::makeInstance(CountryProvider:php);
$countryProvider = GeneralUtility::makeInstance(CountryProvider::class);
$france = $countryProvider->getByIsoCode('FR');
// or
$france = $countryProvider->getByEnglishName('France');
Expand Down

0 comments on commit 75a00e5

Please sign in to comment.