From 79bda5df1a870e5e75cd5d89f43f0aefab07f971 Mon Sep 17 00:00:00 2001 From: BobWez98 Date: Mon, 13 Jan 2025 14:08:06 +0000 Subject: [PATCH] Apply fixes from Duster --- src/Http/Controllers/FallbackController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {