From 4a3a46b3abcd0a262a256908466fb7b322e42c88 Mon Sep 17 00:00:00 2001 From: Krishan Koenig Date: Thu, 7 Mar 2024 10:52:45 +0100 Subject: [PATCH] drop lumen support --- src/MollieServiceProvider.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/MollieServiceProvider.php b/src/MollieServiceProvider.php index 6dc5687..6a2620e 100644 --- a/src/MollieServiceProvider.php +++ b/src/MollieServiceProvider.php @@ -35,9 +35,7 @@ namespace Mollie\Laravel; use Illuminate\Contracts\Container\Container; -use Illuminate\Foundation\Application as LaravelApplication; use Illuminate\Support\ServiceProvider; -use Laravel\Lumen\Application as LumenApplication; use Mollie\Api\MollieApiClient; use Mollie\Laravel\Wrappers\MollieApiWrapper; @@ -68,11 +66,8 @@ protected function setupConfig() { $source = realpath(__DIR__ . '/../config/mollie.php'); - // Check if the application is a Laravel OR Lumen instance to properly merge the configuration file. - if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) { + if ($this->app->runningInConsole()) { $this->publishes([$source => config_path('mollie.php')]); - } elseif ($this->app instanceof LumenApplication) { - $this->app->configure('mollie'); } $this->mergeConfigFrom($source, 'mollie');