1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 18:04:03 +00:00

fix: type error to assign the drie for image manager class

This commit is contained in:
Al Amin Ahamed 2025-03-23 19:19:21 +06:00 committed by GitHub
parent 0a2eef4db4
commit 1ac9c62c6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,7 @@ declare(strict_types=1);
namespace ArchTech\SEO\Commands;
use Illuminate\Console\Command;
use Intervention\Image\Drivers\Imagick\Driver as ImagickDriver;
use Intervention\Image\ImageManager;
class GenerateFaviconsCommand extends Command
@ -38,7 +39,7 @@ class GenerateFaviconsCommand extends Command
}
// GD driver doesn't support .ico, that's why we use ImageMagick.
$manager = new ImageManager(['driver' => 'imagick']);
$manager = new ImageManager(ImagickDriver::class);
$this->comment('Generating ico...');