Skip to content

Commit

Permalink
Apply fixes from Duster
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWez98 authored and actions-user committed Jan 13, 2025
1 parent 8b69621 commit 79bda5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/FallbackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 79bda5d

Please sign in to comment.