Explorar o código

:octocat: phan happy

smiley %!s(int64=2) %!d(string=hai) anos
pai
achega
05e99b8eb8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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;
 	}