Project

General

Profile

Actions

Bug #101938

closed

Usage of :php instead of ::class within changelog code example

Added by Daniel Siepmann 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Should have
Category:
Documentation
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 #1

Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81037

Actions #2

Updated by Gerrit Code Review 8 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81054

Actions #3

Updated by Daniel Siepmann 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF