8000 bug #36518 [Security] Fix missing nullable in CsrfTokenBadge (sstok) · symfony/symfony@6b682bf · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 6b682bf

Browse files
committed
bug #36518 [Security] Fix missing nullable in CsrfTokenBadge (sstok)
This PR was merged into the 5.1-dev branch. Discussion ---------- [Security] Fix missing nullable in CsrfTokenBadge | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Related to #33558 I noticed a minor 🤏 bug with the method return-type. Commits ------- 5cb633c Update CsrfTokenBadge.php
2 parents e36ea50 + 5cb633c commit 6b682bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Http/Authenticator/Passport/Badge/CsrfTokenBadge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff l 731F ine numberDiff line change
@@ -45,7 +45,7 @@ public function getCsrfTokenId(): string
4545
return $this->csrfTokenId;
4646
}
4747

48-
public function getCsrfToken(): string
48+
public function getCsrfToken(): ?string
4949
{
5050
return $this->csrfToken;
5151
}

0 commit comments

Comments
 (0)
0