mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-05 11:27:41 +00:00
:octocat: omit parentheses around "new" calls
This commit is contained in:
@@ -123,7 +123,7 @@ $options->keepAsSquare = [
|
||||
|
||||
|
||||
// dump the output, with an additional logo
|
||||
$out = (new QRCode($options))->render('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
$out = new QRCode($options)->render('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
|
||||
|
||||
header('Content-type: image/png');
|
||||
|
||||
Reference in New Issue
Block a user