Skip to content
Snippets Groups Projects
Commit 051f1e1d authored by Oliver Klee's avatar Oliver Klee Committed by Stefan Bürk
Browse files

[BUGFIX] Fix type annotations concerning storage folder identifiers

Storage folder identifiers can also be int-like strings, which causes
them to automatically get cast to int when used as array keys.

Our types annotations need to reflect this in order to keep developers
and static analysis for taking those array keys to be always strings
(which can lead to type errors and has recently done so).

Resolves: #97858
Relates: #97851
Relates: #97711
Releases: main, 11.5
Change-Id: If0fbfab5792446cfe10564803d8d540dd3cc6bb5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75033


Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent e8a8c2e1
Branches
Tags
No related merge requests found
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