🔧 changed $dataModeOverride default value to '', fix for https://github.com/chillerlan/php-qrcode/issues/97

This commit is contained in:
codemasher
2021-11-25 23:38:09 +01:00
parent d8b0387880
commit 6356b24694
+2 -1
View File
@@ -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