From 94d36eb4704ccb4dbcf179a6eddcf882fc3dc5d9 Mon Sep 17 00:00:00 2001 From: ockle Date: Sat, 31 Dec 2016 22:26:54 +0000 Subject: [PATCH] Fix binding issue in Laravel service provier --- src/Support/Laravel/ServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/Laravel/ServiceProvider.php b/src/Support/Laravel/ServiceProvider.php index b59f841..856203f 100644 --- a/src/Support/Laravel/ServiceProvider.php +++ b/src/Support/Laravel/ServiceProvider.php @@ -44,7 +44,7 @@ public function register() $this->app->alias(ClientInterface::class, Client::class); // Bind if needed. - $this->app->bindIf(HandlerStack::class, function () { + $this->app->bind(HandlerStack::class, function () { return HandlerStack::create(); });