Completed
Branch master (b4e5e0)
by Felix
09:30
created
Category
src/StatServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     public function boot()
16 16
     {
17 17
         $this->publishes([
18
-            __DIR__.'/config/laravel-stat-search-analytics.php' => config_path('laravel-stat-search-analytics.php'),
18
+            __DIR__ . '/config/laravel-stat-search-analytics.php' => config_path('laravel-stat-search-analytics.php'),
19 19
         ], 'config');
20 20
     }
21 21
 
@@ -26,18 +26,18 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function register()
28 28
     {
29
-        $this->mergeConfigFrom(__DIR__.'/config/laravel-stat-search-analytics.php', 'laravel-stat-search-analytics');
29
+        $this->mergeConfigFrom(__DIR__ . '/config/laravel-stat-search-analytics.php', 'laravel-stat-search-analytics');
30 30
 
31 31
         $statConfig = config('laravel-stat-search-analytics');
32 32
 
33
-        $this->app->bind(StatClient::class, function () use ($statConfig) {
33
+        $this->app->bind(StatClient::class, function() use ($statConfig) {
34 34
             if (empty($statConfig['key'])) {
35 35
                 throw InvalidConfiguration::keyNotSpecified();
36 36
             }
37 37
             return StatClientFactory::createForConfig($statConfig);
38 38
         });
39 39
 
40
-        $this->app->bind(Stat::class, function () {
40
+        $this->app->bind(Stat::class, function() {
41 41
             $client = app(StatClient::class);
42 42
             return new Stat($client);
43 43
         });
Please login to merge, or discard this patch.