[TASK] Optimise comment of $sortedConf in the stdWrap function 32/48132/6
authorElmar Hinz <t3elmar@gmail.com>
Sat, 14 May 2016 09:10:38 +0000 (11:10 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 27 May 2016 10:59:09 +0000 (12:59 +0200)
Explain the creation and name of the variable in concise words.

Resolves: #76195
Related: #76194
Releases: master
Change-Id: Ifff61c38dbb4ea07f79cb42cfe7f6aca41e5fbe1
Reviewed-on: https://review.typo3.org/48132
Reviewed-by: Olaf Schmidt-Wischhöfer <osw@eadi.org>
Tested-by: Olaf Schmidt-Wischhöfer <osw@eadi.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

index 3a87a8c..0196edb 100644 (file)
@@ -2003,8 +2003,7 @@ class ContentObjectRenderer
             $conf['cacheRead'] = 1;
             $conf['cacheStore'] = 1;
         }
-        // Check, which of the available stdWrap functions is needed for the current conf Array
-        // and keep only those but still in the same order
+        // The configuration is sorted and filtered by intersection with the defined stdWrapOrder.
         $sortedConf = array_intersect_key($this->stdWrapOrder, $conf);
         // Functions types that should not make use of nested stdWrap function calls to avoid conflicts with internal TypoScript used by these functions
         $stdWrapDisabledFunctionTypes = 'cObject,functionName,stdWrap';