@@ -15,7 +15,7 @@ discard block |
||
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 |
||
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 | }); |
@@ -68,6 +68,6 @@ |
||
68 | 68 | { |
69 | 69 | $response = $this->performQuery('sites/delete', ['id' => $siteID]); |
70 | 70 | |
71 | - return (int) $response['Result']['Id']; |
|
71 | + return (int)$response['Result']['Id']; |
|
72 | 72 | } |
73 | 73 | } |