mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-11-23 19:52:15 +00:00
:octocat: fix PHPCS config, add Slevomat rules
This commit is contained in:
@@ -50,9 +50,6 @@ final class Binarizer{
|
||||
/** @var int[] */
|
||||
private array $luminances;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function __construct(LuminanceSourceInterface $source){
|
||||
$this->source = $source;
|
||||
$this->luminances = $this->source->getLuminances();
|
||||
@@ -162,9 +159,6 @@ final class Binarizer{
|
||||
return $this->getHistogramBlackMatrix($width, $height);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private function getHistogramBlackMatrix(int $width, int $height):BitMatrix{
|
||||
|
||||
// Quickly calculates the histogram by sampling four rows from the image. This proved to be
|
||||
|
||||
Reference in New Issue
Block a user