🚿 phan happy

This commit is contained in:
smiley
2024-11-21 17:12:34 +01:00
parent 47484114d9
commit 42e215640e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -111,6 +111,7 @@ final class AlphaNum extends QRDataModeAbstract{
* @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){
+1 -1
View File
@@ -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