Skip to content

Commit

Permalink
fix typo in driver class name
Browse files Browse the repository at this point in the history
  • Loading branch information
frasmage committed Apr 9, 2024
1 parent 5b3628a commit a08cbed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MediableServiceProvider.php
Expand Up @@ -235,10 +235,10 @@ class_exists(DriverInterface::class) // intervention >= 3.0
}
} elseif (extension_loaded('gd')) {
// attempt to automatically configure for gd
if (class_exists(\Intervention\Image\Drivers\GD\Driver::class)) {
if (class_exists(\Intervention\Image\Drivers\Gd\Driver::class)) {
// intervention/image >=3.0
$imageManager = new ImageManager(
new \Intervention\Image\Drivers\GD\Driver()
new \Intervention\Image\Drivers\Gd\Driver()
);
} else {
// intervention/image <3.0
Expand Down

0 comments on commit a08cbed

Please sign in to comment.