Skip to content

Commit

Permalink
Fix grammar on comment
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed May 8, 2024
1 parent 0288ddd commit 52a0d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base64.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static function decodeNoPadding(
return '';
}
if (($srcLen & 3) === 0) {
// If $strLen is not zero and it is divisible by 4, then its at least 4.
// If $strLen is not zero, and it is divisible by 4, then it's at least 4.
if ($encodedString[$srcLen - 1] === '=' || $encodedString[$srcLen - 2] === '=') {
throw new InvalidArgumentException(
"decodeNoPadding() doesn't tolerate padding"
Expand Down

0 comments on commit 52a0d99

Please sign in to comment.