mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-06 20:07:56 +00:00
:octocat: omit parentheses around "new" calls
This commit is contained in:
@@ -154,7 +154,7 @@ $options->keepAsSquare = [
|
||||
|
||||
|
||||
|
||||
$out = (new QRCode($options))->render('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
$out = new QRCode($options)->render('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
|
||||
|
||||
|
||||
// dump the output
|
||||
|
||||
Reference in New Issue
Block a user