#95730Wrong return type annotations in Result->getFlattenedErrors()
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[][]”.