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

[TASK] Simplify code in ConjunctionValidator

The code in ConjunctionValidator can be greatly
simplified by taking advantage of the fact that
an empty result object can be merged with a future
one. That eliminates an unnecessary code path as
well as phpstan warnings.

Used command:

> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Resolves: #97623
Releases: main, 11.5
Change-Id: I6f10c25562044adb5cbe283255ea07e71effa9cb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74740


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 avatarChristian Kuhn <lolli@schwarzbu.ch>
parent e5616696
No related merge requests found
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