From 878432bacf081bd6b3a28378843bd43e17385128 Mon Sep 17 00:00:00 2001 From: Alex Lombry Date: Mon, 10 Oct 2016 16:10:50 +0200 Subject: [PATCH] Fix singleton --- .../LaravelSalesforce/LaravelSalesforceServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php b/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php index 678bba5..6fc7668 100644 --- a/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php +++ b/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php @@ -34,7 +34,7 @@ public function boot() */ public function register() { - $this->app['salesforce'] = $this->app->singleton('salesforce', function ($app) { + $this->app->singleton('salesforce', function ($app) { $sf = new Salesforce(new Client()); $sf->connect($app['config']);