8000 minor #32144 add missing return type in User class (Tobion) · symfony/symfony@d2711bf · GitHub
[go: up one dir, main page]

Skip to content

Commit d2711bf

Browse files
author
Robin Chalas
committed
minor #32144 add missing return type in User class (Tobion)
This PR was merged into the 5.0-dev branch. Discussion ---------- add missing return type in User class | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Fixed a missing type in #31996 chasing #17201 Every method in this class had a return type but this method. Commits ------- 7857f2f add missing return type in User class
2 parents 18793b7 + 7857f2f commit d2711bf

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