diff --git a/src/Base32.php b/src/Base32.php index a8b6fbe633f0f895d544d0e2044e59c9b252e84a..1712e654bad99d5eaefa55e60ac9b072dd027621 100644 --- a/src/Base32.php +++ b/src/Base32.php @@ -191,6 +191,7 @@ abstract class Base32 implements EncoderInterface * @param bool $strictPadding * @return string * @throws \TypeError + * @psalm-suppress RedundantCondition */ protected static function doDecode(string $src, bool $upper = false, bool $strictPadding = false): string { diff --git a/src/Base64.php b/src/Base64.php index 3408ddb3a359aed1542d4bd3ee110e31bcd98f46..ce04da3f93ce06cb0adae9b07a4474cb5ae0cd88 100644 --- a/src/Base64.php +++ b/src/Base64.php @@ -121,6 +121,7 @@ abstract class Base64 implements EncoderInterface * @return string * @throws \RangeException * @throws \TypeError + * @psalm-suppress RedundantCondition */ public static function decode(string $src, bool $strictPadding = false): string {