From 894478818302e0852311b80f03e4e0e64836ec11 Mon Sep 17 00:00:00 2001 From: barryatswisnl Date: Wed, 25 Jul 2018 17:05:26 +0200 Subject: [PATCH] remove unnecessary provides-method from service provider --- src/Graylog2ServiceProvider.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Graylog2ServiceProvider.php b/src/Graylog2ServiceProvider.php index fd1c759..d70296f 100644 --- a/src/Graylog2ServiceProvider.php +++ b/src/Graylog2ServiceProvider.php @@ -16,7 +16,7 @@ public function boot() $this->publishes([ __DIR__.'/../config/graylog2.php' => $this->app->configPath().'/graylog2.php', ]); - + // Register handler $monoLog = Log::getMonolog(); $monoLog->pushHandler(new Graylog2Handler(config('graylog2.log_level', 'debug'))); @@ -29,14 +29,4 @@ public function register() { $this->app->singleton('graylog2', Graylog2::class); } - - /** - * Get the services provided by the provider. - * - * @return array - */ - public function provides() - { - return ['graylog2']; - } }