Skip to content

Commit

Permalink
Merge pull request #10 from spatie/analysis-XlgKRJ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
freekmurze authored Jul 4, 2017
2 parents bc2541c + 1f79faa commit 001b5de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Image

public function __construct(string $pathToImage)
{
if (!file_exists($pathToImage)) {
if (! file_exists($pathToImage)) {
throw new InvalidArgumentException("`{$pathToImage}` does not exist");
}

Expand All @@ -26,4 +26,4 @@ public function path(): string
{
return $this->pathToImage;
}
}
}
2 changes: 1 addition & 1 deletion src/ImageOptimizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function optimize(string $pathToImage)

$this->logger->info("Start optimizing {$pathToImage}");

foreach($this->optimizers as $optimizer) {
foreach ($this->optimizers as $optimizer) {
$this->applyOptimizer($optimizer, $image);
}
}
Expand Down

0 comments on commit 001b5de

Please sign in to comment.