Project

General

Profile

Actions

Bug #98146

open

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

Added by Sascha Egerer over 1 year ago. Updated over 1 year ago.

Status:
New
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 1 year ago

  • Description updated (diff)
Actions

Also available in: Atom PDF