From 26442d97fe7794dea5fbde9f88f7f30160b8fb5a Mon Sep 17 00:00:00 2001
From: Nikita Hovratov <nikita.h@live.de>
Date: Sat, 19 Nov 2022 18:09:25 +0100
Subject: [PATCH] [TASK] Remove null coalesce operator on always true value in
 ContentObjectRenderer
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Resolves: #99140
Releases: main
Change-Id: Icfe0fbc0c2b10b5383127bd27206237dae4f2965
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76709
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
---
 .../frontend/Classes/ContentObject/ContentObjectRenderer.php    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
index 62bb6b0a3bea..1b5cdbcf1b0f 100644
--- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
+++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
@@ -1193,7 +1193,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
                             continue;
                         }
 
-                        $conf[$functionName] = $this->stdWrap($conf[$functionName] ?? '', $conf[$functionProperties] ?? []);
+                        $conf[$functionName] = $this->stdWrap($conf[$functionName] ?? '', $conf[$functionProperties]);
                     }
                 }
                 // Check if key is still containing something, since it might have been changed by next level stdWrap before
-- 
GitLab