Skip to content

Commit

Permalink
Changed style
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Mar 13, 2024
1 parent e797622 commit 81d8c1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/CoverController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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'));

Expand Down

0 comments on commit 81d8c1e

Please sign in to comment.