Completed
Pull Request — master (#57)
by Sullivan
05:23
created
src/Exception/ConnectionNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Services/ConnectionRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Form/Type/AbstractInfluxDBType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Form/Type/TagKeyType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 
@@ -22,12 +22,12 @@  discard block
 block discarded – undo
22 22
             ->setDefined('connection')
23 23
             ->setRequired('measurement')
24 24
             ->setDefaults([
25
-                'choices' => function (Options $options) {
25
+                'choices' => function(Options $options) {
26 26
                     $connection = $options->offsetExists('connection')
27 27
                         ? $this->connectionRegistry->getHttpConnection($options['connection'])
28 28
                         : $this->connectionRegistry->getDefaultHttpConnection()
29 29
                     ;
30
-                    $measurements = array_map(function ($point) {
30
+                    $measurements = array_map(function($point) {
31 31
                         return $point['tagKey'];
32 32
                     }, $connection->query(sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']))->getPoints());
33 33
 
Please login to merge, or discard this patch.
src/Form/Type/MeasurementType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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,12 +23,12 @@  discard block
 block discarded – undo
23 23
         $resolver
24 24
             ->setDefined('connection')
25 25
             ->setDefaults([
26
-                'choices' => function (Options $options) {
26
+                'choices' => function(Options $options) {
27 27
                     $connection = $options->offsetExists('connection')
28 28
                         ? $this->connectionRegistry->getHttpConnection($options['connection'])
29 29
                         : $this->connectionRegistry->getDefaultHttpConnection()
30 30
                     ;
31
-                    $measurements = array_map(function ($point) {
31
+                    $measurements = array_map(function($point) {
32 32
                         return $point['name'];
33 33
                     }, $connection->query('SHOW MEASUREMENTS')->getPoints());
34 34
 
Please login to merge, or discard this patch.