We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8cebb6 commit 98d4447Copy full SHA for 98d4447
src/Output/QRMarkupSVG.php
@@ -145,19 +145,7 @@ protected function paths():string{
145
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
146
*/
147
protected function path(string $path, int $M_TYPE):string{
148
- $val = $this->getModuleValue($M_TYPE);
149
- // ignore non-existent module values
150
- $format = empty($val)
151
- ? '<path class="%1$s" d="%2$s"/>'
152
- : '<path class="%1$s" fill="%3$s" fill-opacity="%4$s" d="%2$s"/>';
153
-
154
- return sprintf(
155
- $format,
156
- $this->getCssClass($M_TYPE),
157
- $path,
158
- ($val ?? ''), // value may or may not exist
159
- $this->options->svgOpacity
160
- );
+ return sprintf('<path class="%s" d="%s"/>', $this->getCssClass($M_TYPE), $path);
161
}
162
163
/**
0 commit comments