@@ -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 | /** |
@@ -121,7 +121,7 @@ |
||
121 | 121 | /** |
122 | 122 | * @param string $typeKey |
123 | 123 | * @param string $precision |
124 | - * @param array $points |
|
124 | + * @param Point[] $points |
|
125 | 125 | */ |
126 | 126 | private function addPointsToStorage(string $typeKey, string $precision, array $points) |
127 | 127 | { |
@@ -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 @@ |
||
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 | /** |
@@ -25,10 +25,10 @@ |
||
25 | 25 | |
26 | 26 | $rootNode |
27 | 27 | ->beforeNormalization() |
28 | - ->ifTrue(function ($v) { |
|
28 | + ->ifTrue(function($v) { |
|
29 | 29 | return is_array($v) && !array_key_exists('connections', $v); |
30 | 30 | }) |
31 | - ->then(function ($v) { |
|
31 | + ->then(function($v) { |
|
32 | 32 | $excludedKeys = ['default_connection']; |
33 | 33 | $connection = []; |
34 | 34 | foreach ($v as $key => $value) { |