Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored Jan 9, 2018
1 parent 34a9cf2 commit f2d6c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function thumbnail(int $maxSize)
$newWidth = $this->width / $this->height * $newHeight;
}

$thumbnail = new self((int)$newWidth, (int)$newHeight);
$thumbnail = new self((int) $newWidth, (int) $newHeight);
$thumbnail->type = $this->type;

imagecopyresampled($thumbnail->resource, $this->resource, 0, 0, 0, 0, $thumbnail->width, $thumbnail->height, $this->width, $this->height);
Expand Down

0 comments on commit f2d6c0a

Please sign in to comment.