Remove test code
This commit is contained in:
parent
08d64f3c57
commit
2be0ad7697
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue
Block a user