@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Algatux\InfluxDbBundle\Services\Clients\Contracts; |
4 | 4 | |
5 | 5 | /** |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Algatux\InfluxDbBundle\Services\Clients\Contracts; |
4 | 4 | |
5 | 5 | /** |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Algatux\InfluxDbBundle\Services\Clients\Contracts; |
4 | 4 | |
5 | 5 | /** |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Algatux\InfluxDbBundle\Services; |
4 | 4 | |
5 | 5 | use Algatux\InfluxDbBundle\Model\PointsCollection; |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | */ |
47 | 47 | private function checkStorageInitialization(string $getWriteMode, string $getPrecision) |
48 | 48 | { |
49 | - if (! isset($this->storage[$getWriteMode])) { |
|
49 | + if (!isset($this->storage[$getWriteMode])) { |
|
50 | 50 | $this->storage[$getWriteMode] = null; |
51 | 51 | } |
52 | 52 |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function buildUdpClient(): Database |
57 | 57 | { |
58 | - $client = new Client($this->host,$this->udpPort, $this->username, $this->password); |
|
58 | + $client = new Client($this->host, $this->udpPort, $this->username, $this->password); |
|
59 | 59 | $client->setDriver(new UDP($this->host, $this->udpPort)); |
60 | 60 | |
61 | 61 | return $client->selectDB($this->database); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function buildHttpClient(): Database |
68 | 68 | { |
69 | - $client = new Client($this->host,$this->httpPort, $this->username, $this->password); |
|
69 | + $client = new Client($this->host, $this->httpPort, $this->username, $this->password); |
|
70 | 70 | |
71 | 71 | return $client->selectDB($this->database); |
72 | 72 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | $container->setParameter('influx_db.username', $config['username']); |
30 | 30 | $container->setParameter('influx_db.password', $config['password']); |
31 | 31 | |
32 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
33 | 33 | $loader->load('services.xml'); |
34 | 34 | |
35 | 35 | if ($config['use_events'] === true) { |