From 5c7064063dc01c575dd0e47a27e4ff83cdca3183 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 13 May 2025 02:48:56 -0600 Subject: [PATCH] Typo --- app/Jobs/AvatarPipeline/AvatarOptimize.php | 6 +++--- app/Util/Media/Image.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Jobs/AvatarPipeline/AvatarOptimize.php b/app/Jobs/AvatarPipeline/AvatarOptimize.php index f21f69886..78db90fcf 100644 --- a/app/Jobs/AvatarPipeline/AvatarOptimize.php +++ b/app/Jobs/AvatarPipeline/AvatarOptimize.php @@ -58,9 +58,9 @@ class AvatarOptimize implements ShouldQueue $extension = strtolower($fileInfo['extension'] ?? 'jpg'); $driver = match(config('image.driver')) { - 'imagick' => new \Intervention\Image\Drivers\Imagick\Driver(), - 'vips' => new \Intervention\Image\Drivers\Vips\Driver(), - default => new \Intervention\Image\Drivers\Gd\Driver() + 'imagick' => new \Intervention\Image\Drivers\Imagick\Driver::class, + 'vips' => new \Intervention\Image\Drivers\Vips\Driver::class, + default => new \Intervention\Image\Drivers\Gd\Driver::class }; $imageManager = new ImageManager( diff --git a/app/Util/Media/Image.php b/app/Util/Media/Image.php index f77045046..8d0429223 100644 --- a/app/Util/Media/Image.php +++ b/app/Util/Media/Image.php @@ -43,9 +43,9 @@ class Image $this->orientation = null; $driver = match(config('image.driver')) { - 'imagick' => new \Intervention\Image\Drivers\Imagick\Driver(), - 'vips' => new \Intervention\Image\Drivers\Vips\Driver(), - default => new \Intervention\Image\Drivers\Gd\Driver() + 'imagick' => new \Intervention\Image\Drivers\Imagick\Driver::class, + 'vips' => new \Intervention\Image\Drivers\Vips\Driver::class, + default => new \Intervention\Image\Drivers\Gd\Driver::class }; $this->imageManager = new ImageManager(