Completed
Pull Request — master (#57)
by Sullivan
02:50
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/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.
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
 
@@ -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.