@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | */ |
| 13 | 13 | public function boot() |
| 14 | 14 | { |
| 15 | - $this->publishes([__DIR__ . '/config/config.php' => config_path('slack.php')]); |
|
| 15 | + $this->publishes([__DIR__.'/config/config.php' => config_path('slack.php')]); |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function register() |
| 24 | 24 | { |
| 25 | - $this->mergeConfigFrom(__DIR__ . '/config/config.php', 'slack'); |
|
| 25 | + $this->mergeConfigFrom(__DIR__.'/config/config.php', 'slack'); |
|
| 26 | 26 | |
| 27 | 27 | $this->app['maknz.slack'] = $this->app->share(function($app) |
| 28 | 28 | { |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | */ |
| 143 | 143 | public function setEndpoint($endpoint) |
| 144 | 144 | { |
| 145 | - if(empty($endpoint) || !is_string($endpoint)) { |
|
| 145 | + if (empty($endpoint) || ! is_string($endpoint)) { |
|
| 146 | 146 | throw new InvalidArgumentException('The message endpoint must be a non-empty string'); |
| 147 | 147 | } |
| 148 | 148 | |