diff --git a/Tests/Fixtures/ClassParser/AnotherComplexClass.php b/Tests/Fixtures/ClassParser/AnotherComplexClass.php index ff81b32ce..10c97b6e5 100644 --- a/Tests/Fixtures/ClassParser/AnotherComplexClass.php +++ b/Tests/Fixtures/ClassParser/AnotherComplexClass.php @@ -105,7 +105,7 @@ private function loadTypoScriptConfig() * @author adapted for TYPO3v4 by Jochen Rau * @throws \Exception */ - public function getComponent($componentName): object|\Tx_ExtensionBuilder_Tests_Examples_ClassParser_AnotherComplexClass + public function getComponent($componentName): object { // Avoid component manager creating multiple instances of itself: if (static::class == $componentName) {