diff --git a/app/Util/Media/Image.php b/app/Util/Media/Image.php index dc6608c08..9048fbc31 100644 --- a/app/Util/Media/Image.php +++ b/app/Util/Media/Image.php @@ -159,7 +159,10 @@ class Image $media->metadata = json_encode($meta); } - if ( ($ratio['width_original'] > $aspect['width']) || ($ratio['height_original'] > $aspect['height']) ) { + if ( + ($ratio['width_original'] > $aspect['width']) + || ($ratio['height_original'] > $aspect['height']) + ) { $img->resize($aspect['width'], $aspect['height'], function ($constraint) { $constraint->aspectRatio(); });