Completed
Push — master ( 3d38db...66bd78 )
by Alessandro
01:58
created
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.
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.
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.
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.
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.
Services/Clients/InfluxDbClientFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function buildUdpClient()
46 46
     {
47
-        $client = new Client($this->host,$this->udpPort);
47
+        $client = new Client($this->host, $this->udpPort);
48 48
         $client->setDriver(new UDP($this->host, $this->udpPort));
49 49
         $client->selectDB($this->database);
50 50
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function buildHttpClient()
58 58
     {
59
-        $client = new Client($this->host,$this->udpPort);
59
+        $client = new Client($this->host, $this->udpPort);
60 60
         $client->selectDB($this->database);
61 61
 
62 62
         return $client;
Please login to merge, or discard this patch.