[TASK] CGL violations "AssignmentArithmeticAndComparisonSpace"
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Page / PageRenderer.php
index ddbbe62..ddf6aef 100644 (file)
@@ -1706,9 +1706,9 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
                if ($namespace) {
                        if (strpos($namespace, '.')) {
                                $parts = explode('.', $namespace);
-                               $a =$this->inlineSettings;
+                               $a = &$this->inlineSettings;
                                foreach ($parts as $part) {
-                                       $a =$a[$part];
+                                       $a = &$a[$part];
                                }
                                $a[$key] = $value;
                        } else {
@@ -1733,9 +1733,9 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
                if ($namespace) {
                        if (strpos($namespace, '.')) {
                                $parts = explode('.', $namespace);
-                               $a =$this->inlineSettings;
+                               $a = &$this->inlineSettings;
                                foreach ($parts as $part) {
-                                       $a =$a[$part];
+                                       $a = &$a[$part];
                                }
                                $a = array_merge((array) $a, $array);
                        } else {