Skip to content

Commit 52a0d99

Browse files
Fix grammar on comment
1 parent 0288ddd commit 52a0d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Base64.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public static function decodeNoPadding(
245245
return '';
246246
}
247247
if (($srcLen & 3) === 0) {
248-
// If $strLen is not zero and it is divisible by 4, then its at least 4.
248+
// If $strLen is not zero, and it is divisible by 4, then it's at least 4.
249249
if ($encodedString[$srcLen - 1] === '=' || $encodedString[$srcLen - 2] === '=') {
250250
throw new InvalidArgumentException(
251251
"decodeNoPadding() doesn't tolerate padding"

0 commit comments

Comments
 (0)