Skip to content

Commit 0a8561b

Browse files
committed
Change bindShared to singletondue to deprecation since Laravel 5.1
1 parent 4d1e554 commit 0a8561b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TmdbServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function register()
7070
);
7171

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

0 commit comments

Comments
 (0)