smiley 2 лет назад
Родитель
Сommit
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;
 	}