From d6d61869dd8a2cffdd8ef78922ef1cafc89e03a7 Mon Sep 17 00:00:00 2001 From: Dan Faulknor Date: Tue, 28 Feb 2017 14:39:07 +1300 Subject: [PATCH] Updating for Laravel 5.4 --- src/TrelloServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TrelloServiceProvider.php b/src/TrelloServiceProvider.php index 10ec8f0..360c8ff 100644 --- a/src/TrelloServiceProvider.php +++ b/src/TrelloServiceProvider.php @@ -30,7 +30,7 @@ public function boot() { */ public function register() { - $this->app['trello'] = $this->app->share(function($app) { + $this->app->singleton("trello", function($app) { return new Wrapper($app['config']); }); }