From 0a8561b3a326022c46a21ef66b46b1da6d07527e Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann Date: Tue, 22 Dec 2015 09:13:26 +0100 Subject: [PATCH] Change bindShared to singletondue to deprecation since Laravel 5.1 --- src/TmdbServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TmdbServiceProvider.php b/src/TmdbServiceProvider.php index 0f84ac54..b697a9c2 100644 --- a/src/TmdbServiceProvider.php +++ b/src/TmdbServiceProvider.php @@ -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'];