From ae3d7d57df4e3722669d0f007ec404d9f8e584c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sat, 2 Jan 2016 14:44:53 +0100 Subject: [PATCH] Fix: Case-insensitive method call --- src/Intervention/Image/Imagick/Driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Imagick/Driver.php b/src/Intervention/Image/Imagick/Driver.php index b8bfef48..7260560c 100644 --- a/src/Intervention/Image/Imagick/Driver.php +++ b/src/Intervention/Image/Imagick/Driver.php @@ -40,7 +40,7 @@ class Driver extends \Intervention\Image\AbstractDriver $core = new \Imagick; $core->newImage($width, $height, $background->getPixel(), 'png'); $core->setType(\Imagick::IMGTYPE_UNDEFINED); - $core->setImagetype(\Imagick::IMGTYPE_UNDEFINED); + $core->setImageType(\Imagick::IMGTYPE_UNDEFINED); $core->setColorspace(\Imagick::COLORSPACE_UNDEFINED); // build image