@@ -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,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Algatux\InfluxDbBundle\Form\Type; |
6 | 6 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | $resolver |
24 | 24 | ->setRequired('measurement') |
25 | 25 | ->setDefaults([ |
26 | - 'choices' => function (Options $options) { |
|
26 | + 'choices' => function(Options $options) { |
|
27 | 27 | return $this->loadChoicesFromQuery( |
28 | 28 | sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']), |
29 | 29 | 'tagKey', |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Algatux\InfluxDbBundle\Form\Type; |
6 | 6 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | ? $this->connectionRegistry->getHttpConnection($connectionName) |
46 | 46 | : $this->connectionRegistry->getDefaultHttpConnection() |
47 | 47 | ; |
48 | - $measurements = array_map(function ($point) use ($columnName) { |
|
48 | + $measurements = array_map(function($point) use ($columnName) { |
|
49 | 49 | return $point[$columnName]; |
50 | 50 | }, $connection->query($query)->getPoints()); |
51 | 51 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Algatux\InfluxDbBundle\Form\Type; |
6 | 6 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | $resolver |
24 | 24 | ->setRequired('measurement') |
25 | 25 | ->setDefaults([ |
26 | - 'choices' => function (Options $options) { |
|
26 | + 'choices' => function(Options $options) { |
|
27 | 27 | return $this->loadChoicesFromQuery( |
28 | 28 | sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']), |
29 | 29 | 'tagKey', |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Algatux\InfluxDbBundle\Form\Type; |
6 | 6 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | $resolver |
24 | 24 | ->setRequired('measurement') |
25 | 25 | ->setDefaults([ |
26 | - 'choices' => function (Options $options) { |
|
26 | + 'choices' => function(Options $options) { |
|
27 | 27 | return $this->loadChoicesFromQuery( |
28 | 28 | sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']), |
29 | 29 | 'tagKey', |
@@ -20,7 +20,7 @@ |
||
20 | 20 | $resolver |
21 | 21 | ->setRequired(['measurement', 'tag_key']) |
22 | 22 | ->setDefaults([ |
23 | - 'choices' => function (Options $options) { |
|
23 | + 'choices' => function(Options $options) { |
|
24 | 24 | return $this->loadChoicesFromQuery( |
25 | 25 | sprintf( |
26 | 26 | 'SHOW TAG VALUES FROM "%s" WITH KEY = "%s"', |