Skip to content

Commit

Permalink
[TESTS] Fix wrong return definition
Browse files Browse the repository at this point in the history
  • Loading branch information
PKuhlmay committed Jun 28, 2024
1 parent 232b07a commit 81e689f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Fixtures/ClassParser/AnotherComplexClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private function loadTypoScriptConfig()
* @author adapted for TYPO3v4 by Jochen Rau <[email protected]>
* @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) {
Expand Down

0 comments on commit 81e689f

Please sign in to comment.