🚿 rename QRMatrix::checkTypes() to checkTypeNotIn() and switch return value to better reflect what it actually does

This commit is contained in:
smiley
2022-06-06 07:43:16 +02:00
parent 9aad8fbbdf
commit 1f435dfd54
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class QRGdImage extends QROutputAbstract{
/** @phan-suppress-next-line PhanParamTooFewInternalUnpack */
$color = imagecolorallocate($this->image, ...$this->moduleValues[$M_TYPE]);
$this->options->drawCircularModules && !$this->matrix->checkTypes($x, $y, $this->options->keepAsSquare)
$this->options->drawCircularModules && $this->matrix->checkTypeNotIn($x, $y, $this->options->keepAsSquare)
? imagefilledellipse(
$this->image,
($x * $this->scale) + ($this->scale / 2),