Skip to content

Commit 03763e3

Browse files
[Cache] Added Type hint
1 parent b6bc65a commit 03763e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_cache/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ the better. The ``Response::isNotModified()`` method does exactly that::
197197

198198
class ArticleController extends AbstractController
199199
{
200-
public function show($articleSlug, Request $request): Response
200+
public function show(string $articleSlug, Request $request): Response
201201
{
202202
// Get the minimum information to compute
203203
// the ETag or the Last-Modified value

0 commit comments

Comments
 (0)