Skip to content

Commit

Permalink
Fix __invoke method name in solution
Browse files Browse the repository at this point in the history
  • Loading branch information
imacrayon authored Sep 18, 2019
1 parent 4dbd143 commit 14e1e3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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?"),
];
}

Expand Down

0 comments on commit 14e1e3c

Please sign in to comment.