Skip to content

Commit

Permalink
PHP 8.4 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 authored Oct 31, 2024
1 parent d873dcf commit a4b7bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OptimizerChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function useLogger(LoggerInterface $log)
return $this;
}

public function optimize(string $pathToImage, string $pathToOutput = null)
public function optimize(string $pathToImage, ?string $pathToOutput = null)
{
if ($pathToOutput) {
$check = copy($pathToImage, $pathToOutput);
Expand Down

0 comments on commit a4b7bf7

Please sign in to comment.