Skip to content

Commit

Permalink
Merge pull request #5 from ockle/laravel-bind
Browse files Browse the repository at this point in the history
Fix binding issue in Laravel service provider
  • Loading branch information
hannesvdvreken authored Apr 3, 2017
2 parents 614501e + 94d36eb commit fc43eec
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 fc43eec

Please sign in to comment.