Skip to content

Commit 4d6ff33

Browse files
committed
Apply fixes from StyleCI
1 parent 18b9bad commit 4d6ff33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Illuminate/Hashing/Argon2IdHasher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ public function check(#[\SensitiveParameter] $value, $hashedValue, array $option
2121
if (is_null($hashedValue) || strlen($hashedValue) === 0) {
2222
return false;
2323
}
24-
24+
2525
if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) {
2626
throw new RuntimeException('This password does not use the Argon2id algorithm.');
27-
}
27+
}
2828

2929
return password_verify($value, $hashedValue);
3030
}

src/Illuminate/Hashing/ArgonHasher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function check(#[\SensitiveParameter] $value, $hashedValue, array $option
9898
if (is_null($hashedValue) || strlen($hashedValue) === 0) {
9999
return false;
100100
}
101-
101+
102102
if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) {
103103
throw new RuntimeException('This password does not use the Argon2i algorithm.');
104104
}

src/Illuminate/Hashing/BcryptHasher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function check(#[\SensitiveParameter] $value, $hashedValue, array $option
7070
if (is_null($hashedValue) || strlen($hashedValue) === 0) {
7171
return false;
7272
}
73-
73+
7474
if ($this->verifyAlgorithm && ! $this->isUsingCorrectAlgorithm($hashedValue)) {
7575
throw new RuntimeException('This password does not use the Bcrypt algorithm.');
7676
}

0 commit comments

Comments
 (0)