diff --git a/src/Output/QRMarkup.php b/src/Output/QRMarkup.php index 7316698f1..640edac39 100644 --- a/src/Output/QRMarkup.php +++ b/src/Output/QRMarkup.php @@ -29,7 +29,7 @@ class QRMarkup extends QROutputAbstract{ * * @var string */ - protected $svgHeader = ''; + protected $svgHeader = ''; /** * @return void @@ -83,7 +83,7 @@ class QRMarkup extends QROutputAbstract{ protected function svg():string{ $matrix = $this->matrix->matrix(); - $svg = sprintf($this->svgHeader, $this->options->svgViewBoxSize ?? $this->moduleCount) + $svg = sprintf($this->svgHeader, $this->options->cssClass, $this->options->svgViewBoxSize ?? $this->moduleCount) .$this->options->eol .''.$this->options->svgDefs.'' .$this->options->eol;