@@ -29,8 +29,8 @@ discard block |
||
29 | 29 | public function boot(): void |
30 | 30 | { |
31 | 31 | $this->publishes([ |
32 | - __DIR__.'/config/influxdb.php' => config_path('influxdb.php'), |
|
33 | - ]); |
|
32 | + __DIR__.'/config/influxdb.php' => config_path('influxdb.php'), |
|
33 | + ]); |
|
34 | 34 | |
35 | 35 | $this->mergeConfigFrom(__DIR__.'/config/influxdb.php', 'influxdb'); |
36 | 36 | |
@@ -62,12 +62,12 @@ discard block |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | $dsn = sprintf('%s://%s:%s@%s:%s/%s', |
65 | - $protocol, |
|
66 | - config('influxdb.user'), |
|
67 | - config('influxdb.pass'), |
|
68 | - config('influxdb.host'), |
|
69 | - config('influxdb.port'), |
|
70 | - config('influxdb.database') |
|
65 | + $protocol, |
|
66 | + config('influxdb.user'), |
|
67 | + config('influxdb.pass'), |
|
68 | + config('influxdb.host'), |
|
69 | + config('influxdb.port'), |
|
70 | + config('influxdb.database') |
|
71 | 71 | ); |
72 | 72 | |
73 | 73 | return InfluxClient::fromDSN($dsn, $timeout, $verifySsl); |