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:
parent
0a2eef4db4
commit
1ac9c62c6b
1 changed files with 2 additions and 1 deletions
|
|
@ -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...');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue