Skip to content

Commit 838e150

Browse files
Merge branch '7.3' into 7.4
* 7.3: [SecurityBundle] Fix semantic configuration for singulars/plurals in XML [JsonPath] Make the component RFC compliant Fix `#[IsCsrfTokenValid]` to ensure `$tokenKey` is non-nullable
2 parents b960820 + 1cf54d0 commit 838e150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Attribute/IsCsrfTokenValid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(
2929
/**
3030
* Sets the key of the request that contains the actual token value that should be validated.
3131
*/
32-
public ?string $tokenKey = '_token',
32+
public string $tokenKey = '_token',
3333

3434
/**
3535
* Sets the available http methods that can be used to validate the token.

0 commit comments

Comments
 (0)