1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-03 02:42:45 +02:00

psr fixes

This commit is contained in:
Oliver Vogel
2013-02-24 20:07:30 +01:00
parent f93b3b571c
commit 5f2456ee7c
2 changed files with 9 additions and 9 deletions

View File

@@ -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);
}
}