@@ -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 | /** |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | /** |
| 122 | 122 | * @param string $typeKey |
| 123 | 123 | * @param string $precision |
| 124 | - * @param array $points |
|
| 124 | + * @param Point[] $points |
|
| 125 | 125 | */ |
| 126 | 126 | private function addPointsToStorage(string $typeKey, string $precision, array $points) |
| 127 | 127 | { |
@@ -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 | /** |