소스 검색

:octocat: phan happy

smiley 2 년 전
부모
커밋
05e99b8eb8
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/Decoder/BitMatrix.php

+ 2 - 1
src/Decoder/BitMatrix.php

@@ -97,7 +97,8 @@ final class BitMatrix extends QRMatrix{
 		// mirror vertically
 		$matrix = array_reverse($this->matrix);
 		// rotate by 90 degrees clockwise
-		$this->matrix = array_map(fn(...$a) => array_reverse($a), ...$matrix);
+		/** @phan-suppress-next-line PhanParamTooFewInternalUnpack */
+		$this->matrix = array_map(fn(...$a):array => array_reverse($a), ...$matrix);
 
 		return $this;
 	}