mirror of
https://github.com/Intervention/image.git
synced 2025-09-03 02:42:45 +02:00
psr fixes
This commit is contained in:
@@ -223,8 +223,8 @@ class Image
|
||||
// If the height is too large, set it to the maximum
|
||||
// height and calculate the width.
|
||||
if ($height > $max_height) {
|
||||
$height = $max_height;
|
||||
$width = intval($height / $this->height * $this->width);
|
||||
$height = $max_height;
|
||||
$width = intval($height / $this->height * $this->width);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user