Skip to content

Commit f1562e4

Browse files
committed
Apply fixes from StyleCI
1 parent b82eeb8 commit f1562e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/src/Framework/Features/Navigation/BaseMenuGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected function canAddRoute(Route $route): bool
9696
// While we for the most part can rely on the navigation visibility state provided by the navigation data factory,
9797
// we need to make an exception for documentation pages, which generally have a visible state, as the data is
9898
// also used in the sidebar. But we only want the documentation index page to be in the main navigation.
99-
return (! $route->getPage() instanceof DocumentationPage || $route->is(DocumentationPage::homeRouteName()));
99+
return ! $route->getPage() instanceof DocumentationPage || $route->is(DocumentationPage::homeRouteName());
100100
}
101101
}
102102

0 commit comments

Comments
 (0)