Issue Bug Closed

#95730Wrong return type annotations in Result->getFlattenedErrors()

Robert Kärner 10/22/21, 08:48 updated 10/04/22, 14:13

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[][]”.

Reviews 2