1
1
Fork 0

Remove test code

This commit is contained in:
Michael 2022-12-05 03:59:47 +00:00
parent 08d64f3c57
commit 2be0ad7697

View file

@ -57,7 +57,7 @@ class Image
*/
public function __construct(string $data, string $type = null)
{
$this->imagick = class_exists('Imagick') && !class_exists('GDImage');
$this->imagick = class_exists('Imagick');
$this->types = Images::supportedTypes();
if (!array_key_exists($type, $this->types)) {
$type = 'image/jpeg';