Skip to content
Snippets Groups Projects
Commit 92fc2486 authored by Larry Garfield's avatar Larry Garfield Committed by Christian Kuhn
Browse files

[BUGFIX] Remove dead-code paths from AddController

PHPStan identified these code paths as impossible. On
code inspection that's true, so they have been removed
as dead code.  That allowed for the properties of the
class to be typed.

Small related cleanup is included to make verifying
that the code paths were indeed dead easier.

Resolves: #97621
Releases: main
Change-Id: Icc5e53ef72fedb9fc5de659b22229d61c8502f1e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74636


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 4bfa53eb
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