mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-17 09:15:32 +00:00
:octocat: a few more performance improvements
This commit is contained in:
@@ -63,6 +63,7 @@ abstract class QROutputAbstract implements QROutputInterface{
|
||||
protected array $keepAsSquare;
|
||||
/** @see \chillerlan\QRCode\QROptions::$circleRadius */
|
||||
protected float $circleRadius;
|
||||
protected float $circleDiameter;
|
||||
|
||||
/**
|
||||
* QROutputAbstract constructor.
|
||||
@@ -102,6 +103,7 @@ abstract class QROutputAbstract implements QROutputInterface{
|
||||
$this->{$property} = $this->options->{$property};
|
||||
}
|
||||
|
||||
$this->circleDiameter = ($this->circleRadius * 2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user