Update src/Object/Image.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
MarekBenjamin 2022-12-28 23:19:53 +01:00 committed by GitHub
parent ed05d6376d
commit 2d1d06c6d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -378,7 +378,7 @@ class Image
$orientation = $this->image->getImageOrientation();
switch ($orientation) {
case Imagick::ORIENTATION_BOTTOMRIGHT:
$this->rotate( 180);
$this->rotate(180);
break;
case Imagick::ORIENTATION_RIGHTTOP:
$this->rotate(-90);