diff options
Diffstat (limited to 'vendor/chillerlan/php-qrcode/src/Output/QRString.php')
-rw-r--r-- | vendor/chillerlan/php-qrcode/src/Output/QRString.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/chillerlan/php-qrcode/src/Output/QRString.php b/vendor/chillerlan/php-qrcode/src/Output/QRString.php index 3ed5153e1..441ef99fd 100644 --- a/vendor/chillerlan/php-qrcode/src/Output/QRString.php +++ b/vendor/chillerlan/php-qrcode/src/Output/QRString.php @@ -50,7 +50,7 @@ class QRString extends QROutputAbstract{ /** * string output */ - protected function text(string $file = null):string{ + protected function text(?string $file = null):string{ $str = []; foreach($this->matrix->matrix() as $row){ @@ -69,7 +69,7 @@ class QRString extends QROutputAbstract{ /** * JSON output */ - protected function json(string $file = null):string{ + protected function json(?string $file = null):string{ return json_encode($this->matrix->matrix()); } |