forked from wallabag/wallabag
Use ::class notation where possible
This commit is contained in:
@ -162,7 +162,7 @@ class DownloadImages
|
||||
switch ($ext) {
|
||||
case 'gif':
|
||||
// use Imagick if available to keep GIF animation
|
||||
if (class_exists('\\Imagick')) {
|
||||
if (class_exists(\Imagick::class)) {
|
||||
try {
|
||||
$imagick = new \Imagick();
|
||||
$imagick->readImageBlob($res->getBody());
|
||||
|
||||
Reference in New Issue
Block a user