Skip to content

Commit bb26936

Browse files
authored
Fix docs (#129)
1 parent e34edf6 commit bb26936

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/complex-route-params.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ use Sofascore\PurgatoryBundle\Attribute\RouteParamValue\DynamicValues;
129129

130130
#[Route('/posts/{type}', name: 'posts_list', methods: 'GET')]
131131
#[PurgeOn(Post::class, routeParams: ['type' => new DynamicValues('my_service')])]
132-
public function listAction(string $lang)
132+
public function listAction()
133133
{
134134
}
135135
```
@@ -146,7 +146,7 @@ use Sofascore\PurgatoryBundle\Attribute\RouteParamValue\DynamicValues;
146146

147147
#[Route('/posts/{type}', name: 'posts_list', methods: 'GET')]
148148
#[PurgeOn(Post::class, routeParams: ['type' => new DynamicValues('my_service', 'property')])]
149-
public function listAction(string $lang)
149+
public function listAction()
150150
{
151151
}
152152
```

0 commit comments

Comments
 (0)