Issue Bug Closed

#98146TYPO3\CMS\Extbase\Persistence\ObjectStorage::key() should be compatible with return type (int) of method Iterator<int,TEntity>::key()

Sascha Egerer 08/15/22, 12:28 updated 06/20/24, 07:07

Description

TYPO3\CMS\Extbase\Persistence\ObjectStorage does implement the \Iterator Interface.
The method \Iterator::key() must return an integer but ObjectStorage::key() does return a string.

IMO this will be a breaking change even if It’ll not be used by many users.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.