diff --git a/src/RootServiceProvider.php b/src/RootServiceProvider.php index eec52ba3..d69dfb28 100644 --- a/src/RootServiceProvider.php +++ b/src/RootServiceProvider.php @@ -147,7 +147,7 @@ protected function registerRoutes(): void try { return $root->resources->resolve($key); } catch (ResourceResolutionException $exception) { - throw new NotFoundHttpException(); + throw new NotFoundHttpException; } });