Skip to content

Commit 5e496d1

Browse files
committed
fix typo
1 parent 9986624 commit 5e496d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: security/csrf.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ object evaluated to the id::
289289
}
290290

291291
You can use the ``methods`` parameter to the attribute to specify the HTTP methods that are allowed for
292-
the token validation, :class:`Symfony\\Component\\Security\\Http\\Attribute\\IsCsrfTokenValid` is ignored for other methods. By default, the attribute allows all methods.:
292+
the token validation, :class:`Symfony\\Component\\Security\\Http\\Attribute\\IsCsrfTokenValid` is ignored for other methods. By default, the attribute allows all methods::
293293

294294
#[IsCsrfTokenValid('delete-item', tokenKey: 'token', methods: ['DELETE'])]
295295
public function delete(Post $post): Response

0 commit comments

Comments
 (0)