Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d6ba79

Browse files
committedJan 23, 2024
Merge branch '5.4' into 6.3
* 5.4: Fix implicitly-required parameters List CS fix in .git-blame-ignore-revs Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2 parents 63d7b09 + 6728ed7 commit 7d6ba79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎CsrfTokenManager.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class CsrfTokenManager implements CsrfTokenManagerInterface
3737
* * RequestStack: generates a namespace using the current main request
3838
* * callable: uses the result of this callable (must return a string)
3939
*/
40-
public function __construct(TokenGeneratorInterface $generator = null, TokenStorageInterface $storage = null, string|RequestStack|callable $namespace = null)
40+
public function __construct(?TokenGeneratorInterface $generator = null, ?TokenStorageInterface $storage = null, string|RequestStack|callable|null $namespace = null)
4141
{
4242
$this->generator = $generator ?? new UriSafeTokenGenerator();
4343
$this->storage = $storage ?? new NativeSessionTokenStorage();

0 commit comments

Comments
 (0)
Please sign in to comment.