Skip to content

Commit 51cb0ac

Browse files
committed
feat: update psalm 4 => 5
chore: migrate to PHPUnit11 chore: fix formatting
1 parent 8698047 commit 51cb0ac

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/Qrcode/Detector/Detector.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,11 @@ private static function createTransform(
401401
);
402402
}
403403

404+
/**
405+
* @param BitMatrix $image
406+
*/
404407
private static function sampleGrid(
405-
BitMatrix $image,
408+
$image,
406409
PerspectiveTransform $transform,
407410
int $dimension
408411
): \Zxing\Common\BitMatrix {
@@ -411,7 +414,10 @@ private static function sampleGrid(
411414
return $sampler->sampleGrid_($image, $dimension, $dimension, $transform);
412415
}
413416

414-
final protected function getImage(): BitMatrix
417+
/**
418+
* @return BitMatrix
419+
*/
420+
final protected function getImage()
415421
{
416422
return $this->image;
417423
}

0 commit comments

Comments
 (0)