Update CsrfTokenBadge.php

This commit is contained in:
Sebastiaan Stok 2020-04-21 17:08:27 +02:00 committed by GitHub
parent e36ea501a7
commit 5cb633c0dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ class CsrfTokenBadge implements BadgeInterface
return $this->csrfTokenId; return $this->csrfTokenId;
} }
public function getCsrfToken(): string public function getCsrfToken(): ?string
{ {
return $this->csrfToken; return $this->csrfToken;
} }