Skip to content

Commit 604196b

Browse files
[4.4] Add return types on internal|final|private methods (bis)
1 parent 6e66de8 commit 604196b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Encoder/NativePasswordEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct(int $opsLimit = null, int $memLimit = null, int $cos
5757
/**
5858
* {@inheritdoc}
5959
*/
60-
public function encodePassword($raw, $salt)
60+
public function encodePassword($raw, $salt): string
6161
{
6262
if (\strlen($raw) > self::MAX_PASSWORD_LENGTH) {
6363
throw new BadCredentialsException('Invalid password.');

0 commit comments

Comments
 (0)