8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ff106 commit 4825474Copy full SHA for 4825474
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php
@@ -30,7 +30,7 @@ interface CsrfTokenManagerInterface
30
*
31
* @return CsrfToken The CSRF token
32
*/
33
- public function getToken(string $tokenId): CsrfToken;
+ public function getToken(string $tokenId): string;
34
35
/**
36
* Generates a new token value for the given ID.
@@ -44,7 +44,7 @@ public function getToken(string $tokenId): CsrfToken;
44
45
46
47
- public function refreshToken(string $tokenId): CsrfToken;
+ public function refreshToken(string $tokenId): string;
48
49
50
* Invalidates the CSRF token with the given ID, if one exists.
0 commit comments