diff --git a/app/Http/Controllers/CoverController.php b/app/Http/Controllers/CoverController.php index 51f6f2a9..3efd4cc4 100644 --- a/app/Http/Controllers/CoverController.php +++ b/app/Http/Controllers/CoverController.php @@ -4,7 +4,7 @@ use Illuminate\Http\Request; use Illuminate\Support\Str; -use Intervention\Image\Drivers\GD\Driver; +use Intervention\Image\Drivers\Gd\Driver; use Intervention\Image\ImageManager; use Intervention\Image\Typography\FontFactory; @@ -29,7 +29,7 @@ public function image(Request $request) $start_x = 230; $start_y = $height / 2 + 40; - $manager = new ImageManager(new Driver()); + $manager = new ImageManager(Driver::class); $image = $manager->read(public_path('/img/share/socials.png'));