Skip to content

Commit 2153ebb

Browse files
silasjoistenjaviereguiluz
authored andcommitted
Add type hint
1 parent 708945f commit 2153ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ the ``{page}`` parameter using the ``requirements`` option:
595595
}
596596
597597
#[Route('/blog/{slug}', name: 'blog_show')]
598-
public function show($slug): Response
598+
public function show(string $slug): Response
599599
{
600600
// ...
601601
}

0 commit comments

Comments
 (0)