Skip to content

Commit

Permalink
Add value types
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed May 15, 2024
1 parent 1e09e09 commit f433e4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/QrCode/QrCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ final class QrCode
private BaseQrCode $qrCode;
private Logo $qrCodeLogo;
private WriterInterface $qrCodeWriter;

/** @var array<string, bool> $options */
private array $writerOptions = [SvgWriter::WRITER_OPTION_FORCE_XLINK_HREF => true];

public static function create(string $data, string $fileFormat = null): self
Expand Down

0 comments on commit f433e4f

Please sign in to comment.