Skip to content

Commit

Permalink
Fix another CS issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Jul 29, 2016
1 parent 21636e8 commit 781f876
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Resizer.php
Expand Up @@ -83,10 +83,7 @@ protected function processResize(
$coordinates = $this->calculator->calculate($config, $image->getDimensions(), $image->getImportantPart());

// Skip resizing if it would have no effect
if (
$coordinates->isEqualTo($image->getDimensions()->getSize()) &&
!$image->getDimensions()->isRelative()
) {
if ($coordinates->isEqualTo($image->getDimensions()->getSize()) && !$image->getDimensions()->isRelative()) {
return $this->createImage($image, $image->getPath());
}

Expand Down

0 comments on commit 781f876

Please sign in to comment.