Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 authored and github-actions[bot] committed Oct 31, 2024
1 parent 48c4b98 commit b11bf8d
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 @@ -66,7 +66,7 @@ public function optimize(string $pathToImage, ?string $pathToOutput = null)
{
if ($pathToOutput) {
$check = copy($pathToImage, $pathToOutput);
if($check == false) {
if ($check == false) {
throw new InvalidArgumentException("Cannot copy file");
}
$pathToImage = $pathToOutput;
Expand Down

0 comments on commit b11bf8d

Please sign in to comment.