mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-25 07:27:58 +00:00
:octocat: omit parentheses around "new" calls
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ $options->readerGrayscale = true;
|
||||
$options->readerIncreaseContrast = true;
|
||||
|
||||
try{
|
||||
$result = (new QRCode($options))->readFromFile(__DIR__.'/../.github/images/example_image.png');
|
||||
$result = new QRCode($options)->readFromFile(__DIR__.'/../.github/images/example_image.png');
|
||||
|
||||
var_dump($result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user