: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
@@ -47,7 +47,7 @@ $options->svgDefs = '
]]></style>';
$qrcode = (new QRCode($options))->addByteSegment('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
$qrcode = new QRCode($options)->addByteSegment('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
// render the SVG
$svg_raw = $qrcode->render();