Skip to content

Commit

Permalink
feat: update psalm 4 => 5
Browse files Browse the repository at this point in the history
chore: migrate to PHPUnit11
chore: fix formatting
  • Loading branch information
Chris8934 committed Apr 7, 2024
1 parent 8698047 commit 51cb0ac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/Qrcode/Detector/Detector.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,11 @@ private static function createTransform(
);
}

/**
* @param BitMatrix $image
*/
private static function sampleGrid(
BitMatrix $image,
$image,
PerspectiveTransform $transform,
int $dimension
): \Zxing\Common\BitMatrix {
Expand All @@ -411,7 +414,10 @@ private static function sampleGrid(
return $sampler->sampleGrid_($image, $dimension, $dimension, $transform);
}

final protected function getImage(): BitMatrix
/**
* @return BitMatrix
*/
final protected function getImage()
{
return $this->image;
}
Expand Down

0 comments on commit 51cb0ac

Please sign in to comment.