Skip to content

Commit

Permalink
Merge pull request #151 from imacrayon/patch-1
Browse files Browse the repository at this point in the history
Fix `__invoke` method name in solution
  • Loading branch information
freekmurze authored Sep 18, 2019
2 parents 4dbd143 + 14e1e3c commit 3bbf040
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 3bbf040

Please sign in to comment.