From e894585cc68d6db0b3b43703f6f1851fe4aa20e6 Mon Sep 17 00:00:00 2001 From: Badchoice Date: Fri, 10 Mar 2017 18:44:00 +0100 Subject: [PATCH] update for larval 5.4. fixes #2 --- src/Laravel/FontAwesomeServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Laravel/FontAwesomeServiceProvider.php b/src/Laravel/FontAwesomeServiceProvider.php index 3ce3c11..2bcc5c8 100755 --- a/src/Laravel/FontAwesomeServiceProvider.php +++ b/src/Laravel/FontAwesomeServiceProvider.php @@ -31,7 +31,7 @@ public function boot() public function register() { - $this->app['fontawesome'] = $this->app->share(function ($app) { + $this->app->singleton('fontawesome', function($app) return new FontAwesome(); });