Skip to content

Commit e58f7a6

Browse files
committed
Remove unnecessary empty usages
1 parent 11ae2fa commit e58f7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hasher/PlaintextPasswordHasher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function needsRehash(string $hashedPassword): bool
6464

6565
private function mergePasswordAndSalt(#[\SensitiveParameter] string $password, ?string $salt): string
6666
{
67-
if (empty($salt)) {
67+
if (!$salt) {
6868
return $password;
6969
}
7070

0 commit comments

Comments
 (0)