Skip to content

Commit

Permalink
Use bindshared to fix #12
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkRedeman committed Apr 13, 2015
1 parent 7fcae19 commit 2a33e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TmdbServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function register()
);

// Setup default configurations for the Tmdb Client
$this->app->bind('Tmdb\Client', function() {
$this->app->bindShared('Tmdb\Client', function() {
$config = $this->provider->config();
$options = $config['options'];

Expand Down

0 comments on commit 2a33e22

Please sign in to comment.