diff --git a/src/Data/AlphaNum.php b/src/Data/AlphaNum.php index 0d224efc7..93ef9fc59 100644 --- a/src/Data/AlphaNum.php +++ b/src/Data/AlphaNum.php @@ -111,6 +111,7 @@ public static function decodeSegment(BitBuffer $bitBuffer, int $versionNumber):s * @throws \chillerlan\QRCode\Data\QRCodeDataException */ private function ord(string $chr):int{ + /** @phan-suppress-next-line PhanParamSuspiciousOrder */ $ord = strpos(self::CHAR_MAP, $chr); if($ord === false){ diff --git a/src/Data/Number.php b/src/Data/Number.php index deae33306..3e4238fdc 100644 --- a/src/Data/Number.php +++ b/src/Data/Number.php @@ -11,7 +11,7 @@ namespace chillerlan\QRCode\Data; use chillerlan\QRCode\Common\{BitBuffer, Mode}; -use function array_flip, ceil, intdiv, str_split, substr, unpack; +use function ceil, intdiv, substr, unpack; /** * Numeric mode: decimal digits 0 to 9