Skip to content

Commit 6356b24

Browse files
committed
🔧 changed $dataModeOverride default value to '', fix for #97
1 parent d8b0387 commit 6356b24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/QROptionsTrait.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ trait QROptionsTrait{
7777
* valid modes are: Number, AlphaNum, Kanji, Byte (case insensitive)
7878
*
7979
* @see https://github.com/chillerlan/php-qrcode/issues/39
80+
* @see https://github.com/chillerlan/php-qrcode/issues/97 (changed default value to '')
8081
*/
81-
protected ?string $dataModeOverride = null;
82+
protected string $dataModeOverride = '';
8283

8384
/**
8485
* The output type

0 commit comments

Comments
 (0)