8000 Fix return value of `NullToken::getUser()` · symfony/symfony@d892a51 · GitHub
[go: up one dir, main page]

Skip to content

Commit d892a51

Browse files
committed
Fix return value of NullToken::getUser()
1 parent b30675a commit d892a51

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Security/Core/Authentication/Token

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getCredentials()
3333

3434
public function getUser()
3535
{
36-
return '';
36+
return null;
3737
}
3838

3939
public function setUser($user)

0 commit comments

Comments
 (0)
0