Skip to content

Commit

Permalink
Merge pull request #24 from okaufmann/master
Browse files Browse the repository at this point in the history
Change bindShared to singletondue to deprecation since Laravel 5.1
  • Loading branch information
MarkRedeman committed Dec 22, 2015
2 parents 4d1e554 + 0a8561b commit 1706d54
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 @@ -70,7 +70,7 @@ public function register()
);

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

Expand Down

0 comments on commit 1706d54

Please sign in to comment.