: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
@@ -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);
}