Skip to content
Snippets Groups Projects
Commit 9dcaf064 authored by Oliver Klee's avatar Oliver Klee Committed by Christian Kuhn
Browse files

[TASK] Improve type annotations for (Lazy)ObjectStorage

Make proper use of generics and align the API of our classes
with that of the implemented interfaces `Iterator` and
`ArrayAccess`.

This helps extension developers use static analysis for their
extensions.

This is a pre-patch to introducing native types for the two
classes.

Resolves: #102958
Related: #102956
Releases: main, 12.4
Change-Id: I19f850264040246ef140c6958d20473ef4c9be28
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82620


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c5906d7b
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment