From e25d03402c2fc7b0e38391c0fb29d73d109431a1 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Mon, 5 Dec 2022 21:12:24 +0100 Subject: [PATCH 1/2] Revert Laravel http client resolution --- src/MollieServiceProvider.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MollieServiceProvider.php b/src/MollieServiceProvider.php index 80312b4..1005cb0 100644 --- a/src/MollieServiceProvider.php +++ b/src/MollieServiceProvider.php @@ -131,7 +131,8 @@ protected function registerApiAdapter() protected function registerApiClient() { $this->app->singleton('mollie.api.client', function () { - return (new MollieApiClient(new MollieLaravelHttpClientAdapter()))->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION); + // return (new MollieApiClient(new MollieLaravelHttpClientAdapter()))->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION); + return (new MollieApiClient())->addVersionString('MollieLaravel/'.self::PACKAGE_VERSION); }); $this->app->alias('mollie.api.client', MollieApiClient::class); From 995059f68eb39988830817cc909b5c7c2ce394f2 Mon Sep 17 00:00:00 2001 From: Sander van Hooft Date: Mon, 5 Dec 2022 21:13:20 +0100 Subject: [PATCH 2/2] Update version number --- src/MollieServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MollieServiceProvider.php b/src/MollieServiceProvider.php index 1005cb0..118f9f9 100644 --- a/src/MollieServiceProvider.php +++ b/src/MollieServiceProvider.php @@ -45,7 +45,7 @@ */ class MollieServiceProvider extends ServiceProvider { - const PACKAGE_VERSION = '2.20.0'; + const PACKAGE_VERSION = '2.20.1'; /** * Boot the service provider.