Skip to content

Commit 99b1f9c

Browse files
committed
🚿
1 parent dfb7728 commit 99b1f9c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/QROptionsTrait.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,12 @@ trait QROptionsTrait{
401401
protected string $svgPreserveAspectRatio = 'xMidYMid';
402402

403403
/**
404-
* Whether to use the SVG `fill` attributes and set them with the given module values
404+
* Whether to use the SVG `fill` attributes
405+
*
406+
* If set to `true` (default), the `fill` attribute will be set with the module value for the `<path>` element's `$M_TYPE`.
407+
* When set to `false`, the module values map will be ignored and the QR Code may be styled via CSS.
408+
*
409+
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill
405410
*/
406411
protected bool $svgUseFillAttributes = true;
407412

0 commit comments

Comments
 (0)