Skip to content
Snippets Groups Projects
Commit 85641582 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Benni Mack
Browse files

[TASK] Simplify DataMapFactory::setRelations()

In order to have this method more readable, elseif statements
are broken apart and replaced with early returns.

Releases: main
Resolves: #100193
Change-Id: Iea89286280229f7e872c02d75893c4246c6865c0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78144


Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent 08ea8345
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