@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | return static::$method(...$arguments); |
48 | 48 | default: |
49 | 49 | return static::getFacadeRoot() |
50 | - ->$method(...$arguments); |
|
50 | + ->$method(...$arguments); |
|
51 | 51 | } |
52 | 52 | } |
53 | 53 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | Write::dispatch($parameters, $payload); |
64 | 64 | } else { |
65 | 65 | return static::getFacadeRoot() |
66 | - ->write($parameters, $payload); |
|
66 | + ->write($parameters, $payload); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | return true; |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | WritePayload::dispatch($payload, $precision, $retentionPolicy); |
86 | 86 | } else { |
87 | 87 | return static::getFacadeRoot() |
88 | - ->writePayload($payload, $precision, $retentionPolicy); |
|
88 | + ->writePayload($payload, $precision, $retentionPolicy); |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | return true; |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | WritePoints::dispatch($points, $precision, $retentionPolicy); |
108 | 108 | } else { |
109 | 109 | return static::getFacadeRoot() |
110 | - ->writePoints($points, $precision, $retentionPolicy); |
|
110 | + ->writePoints($points, $precision, $retentionPolicy); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | return true; |
@@ -91,10 +91,10 @@ |
||
91 | 91 | public function handle() |
92 | 92 | { |
93 | 93 | InfluxDbServiceProvider::getInstance() |
94 | - ->writePayload( |
|
95 | - $this->payload, |
|
96 | - $this->precision, |
|
97 | - $this->retentionPolicy |
|
98 | - ); |
|
94 | + ->writePayload( |
|
95 | + $this->payload, |
|
96 | + $this->precision, |
|
97 | + $this->retentionPolicy |
|
98 | + ); |
|
99 | 99 | } |
100 | 100 | } |
@@ -53,9 +53,9 @@ |
||
53 | 53 | public function handle() |
54 | 54 | { |
55 | 55 | InfluxDbServiceProvider::getInstance() |
56 | - ->write( |
|
57 | - $this->parameters, |
|
58 | - $this->payload |
|
59 | - ); |
|
56 | + ->write( |
|
57 | + $this->parameters, |
|
58 | + $this->payload |
|
59 | + ); |
|
60 | 60 | } |
61 | 61 | } |
@@ -91,10 +91,10 @@ |
||
91 | 91 | public function handle() |
92 | 92 | { |
93 | 93 | InfluxDbServiceProvider::getInstance() |
94 | - ->writePoints( |
|
95 | - $this->points, |
|
96 | - $this->precision, |
|
97 | - $this->retentionPolicy |
|
98 | - ); |
|
94 | + ->writePoints( |
|
95 | + $this->points, |
|
96 | + $this->precision, |
|
97 | + $this->retentionPolicy |
|
98 | + ); |
|
99 | 99 | } |
100 | 100 | } |
@@ -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); |