Completed
Push — master ( 2fae7b...7020e8 )
by Alessandro
03:08 queued 01:14
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/InfluxDbClientFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function buildUdpClient()
41 41
     {
42
-        $client = new Client($this->host,$this->udpPort);
42
+        $client = new Client($this->host, $this->udpPort);
43 43
         $client->setDriver(new UDP($this->host, $this->udpPort));
44 44
 
45 45
         return $client;
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function buildHttpClient()
52 52
     {
53
-        return new Client($this->host,$this->udpPort);
53
+        return new Client($this->host, $this->udpPort);
54 54
     }
55 55
 
56 56
 }
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.