Project

General

Profile

Actions

Bug #98146

closed

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

Added by Sascha Egerer over 2 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-08-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Sascha Egerer over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Georg Ringer 5 months ago

  • Status changed from New to Closed

this has been fixed in the meantime with couple of changes #98035 and other changes. therefore closing issue

Actions

Also available in: Atom PDF