Skip to content

Commit 20d8714

Browse files
committed
formatting
1 parent 5d10e90 commit 20d8714

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Crypt.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function crypt(string $clearText, ?string $passwordHash = null): string
129129
return $prefix ? '{CRYPT}' . $str : $str;
130130

131131

132-
// legacy / older crypt variant (weaker salt, weaker mechanism, DES)
132+
// legacy / older crypt variant (weaker salt, weaker mechanism, DES)
133133
case 'SYSTEM':
134134
if (empty($passwordHash)) {
135135
$passwordHash = bin2hex(random_bytes(1)); // CRYPT_STD_DES
@@ -393,7 +393,8 @@ public function argon2idCrypt(string $clearText, ?string $hash = null, string $a
393393
return '{ARGON2ID.B64}' . base64_encode($generated);
394394
}
395395

396-
private function changeEmptyHashToNull(?string $hash) : ?string {
396+
private function changeEmptyHashToNull(?string $hash): ?string
397+
{
397398
if (is_string($hash) && empty($hash)) {
398399
return $hash;
399400
}

0 commit comments

Comments
 (0)