diff --git a/src/Http/Controllers/FallbackController.php b/src/Http/Controllers/FallbackController.php index c16ab42b..81da9ea3 100644 --- a/src/Http/Controllers/FallbackController.php +++ b/src/Http/Controllers/FallbackController.php @@ -43,7 +43,7 @@ public function __invoke(Request $request) BackedEnumCaseNotFoundException::class, ModelNotFoundException::class, RecordsNotFoundException::class, - ])->contains(fn($class) => $exception instanceof $class) || $request->expectsJson(); + ])->contains(fn ($class) => $exception instanceof $class) || $request->expectsJson(); }); if ($route && $response = $this->tryRoute($route['route'], $request)) {