Skip to content

Commit

Permalink
🔧 changed $dataModeOverride default value to '', fix for #97
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Nov 25, 2021
1 parent d8b0387 commit 6356b24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/QROptionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ trait QROptionsTrait{
* valid modes are: Number, AlphaNum, Kanji, Byte (case insensitive)
*
* @see https://github.com/chillerlan/php-qrcode/issues/39
* @see https://github.com/chillerlan/php-qrcode/issues/97 (changed default value to '')
*/
protected ?string $dataModeOverride = null;
protected string $dataModeOverride = '';

/**
* The output type
Expand Down

0 comments on commit 6356b24

Please sign in to comment.