mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-17 18:41:04 +00:00
:octocat: mark nullable types explicitly (https://github.com/chillerlan/php-qrcode/issues/276)
This commit is contained in:
@@ -47,7 +47,7 @@ class SVGConvert extends QRMarkupSVG{
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
public function dump(string $file = null):string{
|
||||
public function dump(string|null $file = null):string{
|
||||
$base64 = $this->options->outputBase64;
|
||||
// we don't want the SVG in base64
|
||||
$this->options->outputBase64 = false;
|
||||
|
||||
Reference in New Issue
Block a user