Skip to content

Commit 365e320

Browse files
committed
Remove unused code in base64 string rule (ref. scrutinizer-ci suggestion)
1 parent 95f6583 commit 365e320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Base64EncodedString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function passes($attribute, $value): bool
2222

2323
$decoded = base64_decode($value, true);
2424

25-
if ($decoded === false || $decoded === 0) {
25+
if ($decoded === false) {
2626
return false;
2727
}
2828

0 commit comments

Comments
 (0)