Skip to content

Commit a73e13d

Browse files
authored
Add type hint
1 parent cc48c92 commit a73e13d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ the ``{page}`` parameter using the ``requirements`` option:
578578
}
579579
580580
#[Route('/blog/{slug}', name: 'blog_show')]
581-
public function show($slug): Response
581+
public function show(string $slug): Response
582582
{
583583
// ...
584584
}

0 commit comments

Comments
 (0)