From 14e1e3c1d76fef83f1f05f286eb796b1e16be8f1 Mon Sep 17 00:00:00 2001 From: Christian Taylor Date: Wed, 18 Sep 2019 08:10:15 -0500 Subject: [PATCH] Fix `__invoke` method name in solution --- src/SolutionProviders/InvalidRouteActionSolutionProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?"), ]; }