8000 add missing return type in User class · symfony/symfony@7857f2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7857f2f

Browse files
committed
add missing return type in User class
1 parent 18793b7 commit 7857f2f

File tree

1 file changed

+2
-1
lines changed
  • src/Symfony/Component/Security/Core/User

1 file changed

+2
-1
lines changed

src/Symfony/Component/Security/Core/User/User.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ public function getPassword(): ?string
6767
/**
6868
* {@inheritdoc}
6969
*/
70-
public function getSalt()
70+
public function getSalt(): ?string
7171
{
72+
return null;
7273
}
7374

7475
/**

0 commit comments

Comments
 (0)
0