@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |
@@ -1,5 +1,5 @@ |
||
| 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 | /** |