Completed
Branch master (44133e)
by Alessandro
02:07
created
src/Events/Listeners/InfluxDbEventListener.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/Model/PointsCollection.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/Clients/Contracts/ClientInterface.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/Clients/Contracts/ReaderInterface.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/Clients/Contracts/WriterInterface.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/Clients/InfluxDbClientFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public function buildUdpClient(): Database
47 47
     {
48
-        $client = new Client($this->host,$this->udpPort);
48
+        $client = new Client($this->host, $this->udpPort);
49 49
         $client->setDriver(new UDP($this->host, $this->udpPort));
50 50
 
51 51
         return $client->selectDB($this->database);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function buildHttpClient(): Database
58 58
     {
59
-        $client = new Client($this->host,$this->httpPort);
59
+        $client = new Client($this->host, $this->httpPort);
60 60
 
61 61
         return $client->selectDB($this->database);
62 62
     }
Please login to merge, or discard this patch.
src/Services/Clients/ReaderClient.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/Clients/WriterClient.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace Algatux\InfluxDbBundle\Services\Clients;
4 4
 
5 5
 use Algatux\InfluxDbBundle\Services\Clients\Contracts\ClientInterface;
@@ -24,8 +24,7 @@  discard block
 block discarded – undo
24 24
     public function __construct(InfluxDbClientFactory $factory, $clientType)
25 25
     {
26 26
         $this->client = $clientType === ClientInterface::HTTP_CLIENT ?
27
-            $factory->buildHttpClient() :
28
-            $factory->buildUdpClient();
27
+            $factory->buildHttpClient() : $factory->buildUdpClient();
29 28
     }
30 29
 
31 30
     /**
Please login to merge, or discard this patch.
src/Events/InfluxDbEvent.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.