diff --git a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php index 25f3d69de78..a352a250358 100644 --- a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php +++ b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchPage.php @@ -50,7 +50,7 @@ public static function enabled(): bool protected static function anotherSearchPageExists(): bool { // Since routes aren't discovered yet, we need to check the pages directly - return Hyde::pages()->first(fn(HydePage $file): bool => $file->getRouteKey() === static::routeKey()) !== null; + return Hyde::pages()->first(fn (HydePage $file): bool => $file->getRouteKey() === static::routeKey()) !== null; } protected static function routeKey(): string