:octocat: omit parentheses around "new" calls

This commit is contained in:
smiley
2026-03-17 19:05:34 +01:00
parent 3bfa0be1d5
commit 9a38501f5b
59 changed files with 95 additions and 95 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ try{
'imageTransparent' => false,
]);
$qrcode = (new QRCode($options))->render($_POST['inputstring']);
$qrcode = new QRCode($options)->render($_POST['inputstring']);
if(in_array($_POST['output_type'], ['png', 'jpg', 'gif', 'svg'], true)){
$qrcode = '<img alt="qrcode" src="'.$qrcode.'" />';