fix:修复BUG/升级1.1.6版本

This commit is contained in:
Ying
2023-04-25 20:11:49 +08:00
parent 445e5f9662
commit 6a6866bbaf
2357 changed files with 456920 additions and 140567 deletions

View File

@@ -8,18 +8,12 @@ use Endroid\QrCode\Matrix\MatrixInterface;
final class SvgResult extends AbstractResult
{
private \SimpleXMLElement $xml;
private bool $excludeXmlDeclaration;
public function __construct(
MatrixInterface $matrix,
\SimpleXMLElement $xml,
bool $excludeXmlDeclaration = false
private \SimpleXMLElement $xml,
private bool $excludeXmlDeclaration = false
) {
parent::__construct($matrix);
$this->xml = $xml;
$this->excludeXmlDeclaration = $excludeXmlDeclaration;
}
public function getXml(): \SimpleXMLElement