Skip to content
This repository was archived by the owner on Jan 11, 2022. It is now read-only.

Commit a74835f

Browse files
authored
Merge pull request #11 from swisnl/develop
remove unnecessary provides-method from service provider
2 parents ad722da + 8944788 commit a74835f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/Graylog2ServiceProvider.php

+1-11
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function boot()
1616
$this->publishes([
1717
__DIR__.'/../config/graylog2.php' => $this->app->configPath().'/graylog2.php',
1818
]);
19-
19+
2020
// Register handler
2121
$monoLog = Log::getMonolog();
2222
$monoLog->pushHandler(new Graylog2Handler(config('graylog2.log_level', 'debug')));
@@ -29,14 +29,4 @@ public function register()
2929
{
3030
$this->app->singleton('graylog2', Graylog2::class);
3131
}
32-
33-
/**
34-
* Get the services provided by the provider.
35-
*
36-
* @return array
37-
*/
38-
public function provides()
39-
{
40-
return ['graylog2'];
41-
}
4232
}

0 commit comments

Comments
 (0)