Skip to content
Commit efed7d32 authored by Oliver Klee's avatar Oliver Klee Committed by Christian Kuhn
Browse files

[TASK] Annotate ActionController methods that never return

Extbase controllers that call a never-returning method do not
need a return statement after that call in order to avoid
calling the rest of the action method. The new annotations
ensure that PHPStan becomes aware of this control flow.

Resolves: #99109
Releases: main, 11.5
Change-Id: I9b9d308440966c71051fe993abd31f23b13c82e0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76652


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2cb30584
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