We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d873dcf commit a4b7bf7Copy full SHA for a4b7bf7
src/OptimizerChain.php
@@ -62,7 +62,7 @@ public function useLogger(LoggerInterface $log)
62
return $this;
63
}
64
65
- public function optimize(string $pathToImage, string $pathToOutput = null)
+ public function optimize(string $pathToImage, ?string $pathToOutput = null)
66
{
67
if ($pathToOutput) {
68
$check = copy($pathToImage, $pathToOutput);
0 commit comments