Commit 0609e384 by Arunas Skirius

make it compatible with Laravel 5.3+

parent 4037fbe4
......@@ -26,7 +26,7 @@ class ServiceProviderLaravel5 extends \Illuminate\Support\ServiceProvider
{
$this->mergeConfigFrom(__DIR__.'/config/config.php', 'slack');
$this->app['maknz.slack'] = $this->app->share(function ($app) {
$this->app->singleton('maknz.slack', function ($app) {
return new Client(
$app['config']->get('slack.endpoint'),
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment