From f4365ed5d0724948cbaf9e740bac0664b45b814b Mon Sep 17 00:00:00 2001 From: freek Date: Fri, 20 Jan 2017 09:25:12 +0100 Subject: [PATCH] fix package for older Laravel versions --- CHANGELOG.md | 5 +++++ src/TailServiceProvider.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d95de0..0ba31c4 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,12 @@ All Notable changes to laravel-tail will be documented in this file +### 1.1.5 +- Remove L5.4 compatibility + ### 1.1.4 +**THIS RELEASE CONTAINS BUGS, DO NOT USE** + - Make compatible with Laravel 5.4 ### 1.1.3 - 2016-11-26 diff --git a/src/TailServiceProvider.php b/src/TailServiceProvider.php index 2e1aebe..92c612d 100755 --- a/src/TailServiceProvider.php +++ b/src/TailServiceProvider.php @@ -32,7 +32,7 @@ public function boot() */ public function register() { - $this->app['command.tail'] = $this->app->singleton( + $this->app['command.tail'] = $this->app->share( function ($app) { return new TailCommand(); } @@ -50,4 +50,4 @@ public function provides() { return ['command.tail']; } -} +} \ No newline at end of file