diff --git a/src/SolutionProviders/InvalidRouteActionSolutionProvider.php b/src/SolutionProviders/InvalidRouteActionSolutionProvider.php index 4b78ea59..e23194d7 100644 --- a/src/SolutionProviders/InvalidRouteActionSolutionProvider.php +++ b/src/SolutionProviders/InvalidRouteActionSolutionProvider.php @@ -38,7 +38,7 @@ public function getSolutions(Throwable $throwable): array if ($suggestedController === $invalidController) { return [ BaseSolution::create("`{$invalidController}` is not invokable.") - ->setSolutionDescription("The controller class `{$invalidController}` is not invokable. Did you forget to add the `__invokable` method or is the controller's method missing in your routes file?"), + ->setSolutionDescription("The controller class `{$invalidController}` is not invokable. Did you forget to add the `__invoke` method or is the controller's method missing in your routes file?"), ]; }