Skip to content

Commit

Permalink
Fix binding issue in Laravel service provier
Browse files Browse the repository at this point in the history
  • Loading branch information
ockle authored Dec 31, 2016
1 parent 614501e commit 94d36eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Laravel/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down

0 comments on commit 94d36eb

Please sign in to comment.