Skip to content

Commit

Permalink
🚿 phan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Nov 21, 2024
1 parent 4748411 commit 42e2156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Data/AlphaNum.php
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Number.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42e2156

Please sign in to comment.