Skip to content

Commit ccf748c

Browse files
Merge branch '4.4'
* 4.4: [4.4] Add return types on internal|final|private methods (bis) [Ldap] Add missing LdapUser::setPassword() Add types to roting and DI configuration traits.
2 parents 5f86277 + 604196b commit ccf748c

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(string $raw, ?string $salt)
60+
public function encodePassword(string $raw, ?string $salt): string
6161
{
6262
if (\strlen($raw) > self::MAX_PASSWORD_LENGTH) {
6363
throw new BadCredentialsException('Invalid password.');

0 commit comments

Comments
 (0)