Skip to content

Commit

Permalink
check on Imagick
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Mar 19, 2022
1 parent 399f55c commit a6b01b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Images/Handlers/ImageMagickHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct($config = null)

// We should never see this, so can't test it
// @codeCoverageIgnoreStart
if (! (extension_loaded('imagick') || class_exists('Imagick'))) {
if (! (extension_loaded('imagick') || class_exists(Imagick::class))) {
throw ImageException::forMissingExtension('IMAGICK');
}
// @codeCoverageIgnoreEnd
Expand Down

0 comments on commit a6b01b0

Please sign in to comment.