Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Adjust WebActionsCaller to new router syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark authored and devanych committed Feb 1, 2021
1 parent b6532b1 commit e1027e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/WebActionsCaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* and constructor based on types specified.
*
* ```php
* Route::anyMethod('/test/{action:\w+}')->to(new WebActionsCaller(TestController::class, $container)),
* Route::anyMethod('/test/{action:\w+}', new WebActionsCaller(TestController::class, $container)),
* ```
*/
final class WebActionsCaller implements MiddlewareInterface
Expand Down

0 comments on commit e1027e4

Please sign in to comment.