We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0288ddd commit 52a0d99Copy full SHA for 52a0d99
src/Base64.php
@@ -245,7 +245,7 @@ public static function decodeNoPadding(
245
return '';
246
}
247
if (($srcLen & 3) === 0) {
248
- // 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.
249
if ($encodedString[$srcLen - 1] === '=' || $encodedString[$srcLen - 2] === '=') {
250
throw new InvalidArgumentException(
251
"decodeNoPadding() doesn't tolerate padding"
0 commit comments