diff --git a/docs/2.path-parameters.md b/docs/2.path-parameters.md index bf5e0059..76cb47f2 100755 --- a/docs/2.path-parameters.md +++ b/docs/2.path-parameters.md @@ -61,8 +61,8 @@ As long as you wrap it with braces (`{}`) your parameters will be injectable. ```php $server->router->get("/account/{username}@{page}",function( - #[Param] string $username, - #[Param] string $page + string $username, + string $page, ){ return "hello $username, you are looking at page $page."; });