Skip to content

Commit

Permalink
Remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Dec 13, 2021
1 parent e6296c9 commit 8dfbb73
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Writer/SvgWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ private function addLogo(LogoInterface $logo, SvgResult $result, array $options)
$imageDefinition->addAttribute('height', strval($logoImageData->getHeight()));
$imageDefinition->addAttribute('preserveAspectRatio', 'none');

// xlink:href is actually deprecated, but still required when placing the qr code in a pdf.
// SimpleXML strips out the xlink part by using addAttribute(), so it must be set directly.
if ($options[self::WRITER_OPTION_FORCE_XLINK_HREF]) {
$imageDefinition->addAttribute('xlink:href', $logoImageData->createDataUri(), 'http://www.w3.org/1999/xlink');
} else {
Expand Down

0 comments on commit 8dfbb73

Please sign in to comment.