mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-19 02:05:42 +00:00
🚿 rename QRMatrix::checkTypes() to checkTypeNotIn() and switch return value to better reflect what it actually does
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user