Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit b19515b

Browse files
committed
Backported return type violation bugfixes.
1 parent 03ac00a commit b19515b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Core/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
}

Core/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)