Remove test code
This commit is contained in:
parent
08d64f3c57
commit
2be0ad7697
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue