mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 15:27:55 +00:00
:octocat: phan happy
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user