🚿 docblocks (WIP)

This commit is contained in:
codemasher
2021-11-18 13:32:46 +01:00
parent f7e5e2e806
commit 6a5be44ea4
18 changed files with 126 additions and 20 deletions
+6
View File
@@ -15,12 +15,18 @@ use chillerlan\QRCode\Common\{MaskPattern, Version};
use InvalidArgumentException;
use function array_fill, count;
/**
*
*/
final class BitMatrix{
private int $dimension;
private int $rowSize;
private array $bits;
/**
*
*/
public function __construct(int $dimension){
$this->dimension = $dimension;
$this->rowSize = ((int)(($this->dimension + 0x1f) / 0x20));