:octocat: a few more performance improvements

This commit is contained in:
smiley
2023-10-25 13:55:25 +02:00
parent 8049976e5b
commit 5e8d10df82
3 changed files with 11 additions and 12 deletions
+2
View File
@@ -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);
}
/**