Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Commit

Permalink
move alias up
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns authored May 25, 2017
1 parent 1d47127 commit 2e9b7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServiceProviderLaravel5.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public function boot()
public function register()
{
$this->mergeConfigFrom(__DIR__.'/config/config.php', 'slack');

$this->app->alias('Maknz\Slack\Client', 'maknz.slack');

$this->app->singleton('maknz.slack', function ($app) {
return new Client(
Expand All @@ -42,7 +44,5 @@ public function register()
new Guzzle
);
});

$this->app->alias('Maknz\Slack\Client', 'maknz.slack');
}
}

0 comments on commit 2e9b7c0

Please sign in to comment.