@@ -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 | /** |
@@ -43,12 +43,12 @@ |
||
43 | 43 | $resolver |
44 | 44 | ->setDefined('connection') |
45 | 45 | ->setDefaults([ |
46 | - 'choices' => function (Options $options) { |
|
46 | + 'choices' => function(Options $options) { |
|
47 | 47 | $connection = $options->offsetExists('connection') |
48 | 48 | ? $this->connectionRegistry->getHttpConnection($options['connection']) |
49 | 49 | : $this->connectionRegistry->getDefaultHttpConnection() |
50 | 50 | ; |
51 | - $measurements = array_map(function ($point) { |
|
51 | + $measurements = array_map(function($point) { |
|
52 | 52 | return $point['name']; |
53 | 53 | }, $connection->query('SHOW MEASUREMENTS')->getPoints()); |
54 | 54 |
@@ -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 | /** |