Skip to content

Commit 3c20d33

Browse files
committed
Backported return type violation bugfixes.
1 parent 2acef25 commit 3c20d33

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Encoder/EncoderAwareInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface EncoderAwareInterface
2222
* If the method returns null, the standard way to retrieve the encoder
2323
* will be used instead.
2424
*
25-
* @return string
25+
* @return string|null
2626
*/
2727
public function getEncoderName();
2828
}

User/User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function getPassword()
6969
*/
7070
public function getSalt()
7171
{
72+
return null;
7273
}
7374

7475
/**

0 commit comments

Comments
 (0)