mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-13 07:16:09 +00:00
🚿 docblocks (WIP)
This commit is contained in:
@@ -47,6 +47,9 @@ final class Binarizer{
|
||||
|
||||
private LuminanceSource $source;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function __construct(LuminanceSource $source){
|
||||
$this->source = $source;
|
||||
}
|
||||
@@ -154,6 +157,9 @@ final class Binarizer{
|
||||
return $this->getHistogramBlackMatrix($width, $height);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function getHistogramBlackMatrix(int $width, int $height):BitMatrix{
|
||||
$matrix = new BitMatrix(max($width, $height));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user