mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-21 19:45:00 +00:00
:octocat: omit parentheses around "new" calls
This commit is contained in:
@@ -246,7 +246,7 @@ $options->svgDefs = '
|
||||
]]></style>';
|
||||
|
||||
|
||||
$out = (new QRCode($options))->render('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
$out = new QRCode($options)->render('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
|
||||
|
||||
if(PHP_SAPI !== 'cli'){
|
||||
|
||||
Reference in New Issue
Block a user