Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ncla committed Feb 12, 2023
1 parent ec52b1f commit af99196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manipulators/Size.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function run(Image $image)
list($width, $height) = $this->applyDpr($width, $height, $dpr);
list($width, $height) = $this->limitImageSize($width, $height);

if ((int) $width !== (int) $image->width() || (int) $height !== (int) $image->height() || $this->getCrop()[2] !== 1.0) {
if ((int) $width !== (int) $image->width() || (int) $height !== (int) $image->height() || 1.0 !== $this->getCrop()[2]) {
$image = $this->runResize($image, $fit, (int) $width, (int) $height);
}

Expand Down

0 comments on commit af99196

Please sign in to comment.