diff --git a/composer.json b/composer.json index 425e93b..83846db 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mollie/laravel-mollie", "description": "Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite", - "version": "1.1.2", + "version": "1.1.3", "homepage": "https://github.com/mollie/laravel-mollie", "license": "BSD-2-Clause", "authors": [ diff --git a/src/MollieServiceProvider.php b/src/MollieServiceProvider.php index 6b81f7f..ce79663 100644 --- a/src/MollieServiceProvider.php +++ b/src/MollieServiceProvider.php @@ -73,7 +73,7 @@ protected function setupConfig() */ protected function extendSocialite() { - if (class_exists('Laravel\Socialite\Contracts\Factory')) { + if (interface_exists('Laravel\Socialite\Contracts\Factory')) { $socialite = $this->app->make('Laravel\Socialite\Contracts\Factory'); $socialite->extend('mollie', function (Container $app) use ($socialite) {