Skip to content

Commit c10ae18

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Add type hint
2 parents 84634a2 + 7a9880e commit c10ae18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: routing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ the ``{page}`` parameter using the ``requirements`` option:
585585
}
586586
587587
#[Route('/blog/{slug}', name: 'blog_show')]
588-
public function show($slug): Response
588+
public function show(string $slug): Response
589589
{
590590
// ...
591591
}

0 commit comments

Comments
 (0)