Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Harden event listener automagic parameter type resolution
Do only auto-resolve the event name if the reflection type of the first parameter is a ReflectionNamedType [1] as only this subclass of ReflectionType defines the getName() method. [1] https://www.php.net/manual/en/class.reflectionnamedtype.php Commands executed: Build/Scripts/runTests.sh -s phpstanGenerateBaseline Releases: main, 11.5 Resolves: #96704 Change-Id: If30b04d68f182920a3736fa5333b9d996e989528 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73248 Tested-by: Benjamin Franzke <bfr@qbus.de> Tested-by: core-ci <typo3@b13.com> Reviewed-by: Benjamin Franzke <bfr@qbus.de> Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
- Loading branch information