Actions
Bug #95730
closedWrong return type annotations in Result->getFlattenedErrors()
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2021-10-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In a custom developed extension, PHPStan is complaining about
typo3/sysext/extbase/Classes/Error/Result.php -> getFlattenedErrors()
returning the wrong type. It is annotated as "Error[]" but actually returns "Error[][]".
Actions