Skip to content

Commit 7a9880e

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: Add type hint
2 parents 4fac6a2 + 5475b2d commit 7a9880e

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
@@ -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)