Skip to content
Snippets Groups Projects
Commit edce3cc7 authored by Nikita Hovratov's avatar Nikita Hovratov Committed by Benni Mack
Browse files

[TASK] Use $cObj->stdWrapValue where possible

A common way to apply stdWrap is to use the ternary operator to check
for existing stdWrap config. This can be replaced by using the
$cObj->stdWrapValue method. Not only is it shorter, it is also more
robust and less error-prone.

To start off all ContentObject classes have been cleaned up.

Resolves: #91657
Releases: master
Change-Id: I65c28e27c21ae13bdbcb47068bc32b510b8b0dc0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64898


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 8e078afd
Branches
Tags
Showing
with 277 additions and 297 deletions
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