diff --git a/packages/typo3-docs-theme/src/Directives/SiteSetSettingsDirective.php b/packages/typo3-docs-theme/src/Directives/SiteSetSettingsDirective.php index 3a904131c..57736f24c 100644 --- a/packages/typo3-docs-theme/src/Directives/SiteSetSettingsDirective.php +++ b/packages/typo3-docs-theme/src/Directives/SiteSetSettingsDirective.php @@ -365,7 +365,7 @@ public function buildCategoryArray(array $categories, array $categoryLabels): ar */ public function assignConfvalsToCategories(string $category, array &$categoryArray, ConfvalNode $confval, array &$rootCategories): void { - if (is_array($categoryArray[$category]['confvals']??false)) { + if (is_array($categoryArray[$category]['confvals'] ?? false)) { $categoryArray[$category]['confvals'][] = $confval; } else { $categoryArray[$category] = [ @@ -409,7 +409,7 @@ private function buildCategoryConfvals(array $categories, string $idPrefix, Dire } assert(is_array($category['confvals'])); $confvals[] = new ConfvalNode( - $this->anchorNormalizer->reduceAnchor($idPrefix .'category-'. $key), + $this->anchorNormalizer->reduceAnchor($idPrefix . 'category-' . $key), $key, null, false,