From 255b1bca4f07e273f6f3b79ec70a1da000342e24 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 29 Apr 2024 19:49:40 +0000 Subject: [PATCH] Apply fixes from StyleCI --- .../src/Framework/Features/Navigation/NavigationMenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Framework/Features/Navigation/NavigationMenu.php b/packages/framework/src/Framework/Features/Navigation/NavigationMenu.php index 81d6beb85d3..adf939a7875 100644 --- a/packages/framework/src/Framework/Features/Navigation/NavigationMenu.php +++ b/packages/framework/src/Framework/Features/Navigation/NavigationMenu.php @@ -77,7 +77,7 @@ protected function dropdownsEnabled(): bool private function hasGroupExplicitlySetInFrontMatter(): bool { return $this->hasDropdowns ??= $this->items->contains(function (NavItem $item): bool { - return ($item->getGroup() !== null) && ($item->destination !== (string)DocumentationPage::home()); + return ($item->getGroup() !== null) && ($item->destination !== (string) DocumentationPage::home()); }); } }