:octocat: added QRMatrix::M_*_DARK constants for convenience

This commit is contained in:
smiley
2023-03-12 14:32:02 +01:00
parent 428df0d78d
commit 51d7c2b8a3
21 changed files with 270 additions and 251 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ abstract class QRGdImageTestAbstract extends QROutputTestAbstract{
$this->options->moduleValues = [
// data
(QRMatrix::M_DATA | QRMatrix::IS_DARK) => [0, 0, 0],
QRMatrix::M_DATA => [255, 255, 255],
QRMatrix::M_DATA_DARK => [0, 0, 0],
QRMatrix::M_DATA => [255, 255, 255],
];
$this->outputInterface = new $this->FQN($this->options, $this->matrix);