Skip to content

Commit

Permalink
Change bindShared to singletondue to deprecation since Laravel 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
okaufmann committed Dec 22, 2015
1 parent 4d1e554 commit 0a8561b
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 0a8561b

Please sign in to comment.