Skip to content
Snippets Groups Projects
Commit f8724a84 authored by Elias Häußler's avatar Elias Häußler Committed by Christian Kuhn
Browse files

[TASK] Use `list` as return type annotation for `GU::*Explode` methods

The `GU::revExplode` and `GU::trimExplode` methods return lists of
elements. Thus, we can safely annotate them as `list` instead of `array`
to allow better static code analysis. The annotation for
`GU::intExplode` is not changed at the moment since this method behaves
differently.

Resolves: #99881
Releases: main, 11.5
Change-Id: I111bb5d9482c165f6cee81ab542d2048f3634c13
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77835


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 988d5a98
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