Issue Bug Closed

#106726AbstractGenericObjectValidator::getPropertyValidators may return array or \SplObjectStorage, only array defined

Elias Häußler 05/19/25, 10:47 updated 05/21/25, 12:20

Description

The \TYPO3\CMS\Extbase\Validation\Validator\AbstractGenericObjectValidator::getPropertyValidators method may return an array of SplObjectStorage instances or an instance of SplObjectStorage, depending on whether a property name is given. Currently, only array is defined as return type which breaks calls with a given property name.

Reviews 3