Skip to content
Snippets Groups Projects
Commit 9ac803a0 authored by Larry Garfield's avatar Larry Garfield Committed by Georg Ringer
Browse files

[TASK] Add modern typing to ArrayUtility

PHP 8.1's type system lets us add a lot more types
to ArrayUitlity's signatures, and remove some
unnecessary code in the process.

I also did a little bit of related modern-syntax
cleanup along the way, but this is mainly types.

That also lets us remove some now-unnecessary tests,
and with them some phpstan baseline entries.

Resolves: #97202
Releases: main
Change-Id: I05cd84524b42419a25ab06a9bffebcc2b90d9f6f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73984


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent b5e64c35
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