@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace Algatux\InfluxDbBundle\Events\Listeners; |
4 | 4 | use Algatux\InfluxDbBundle\Events\DeferredInfluxDbEvent; |
5 | 5 | use Algatux\InfluxDbBundle\Events\InfluxDbEvent; |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | if ($event instanceof DeferredInfluxDbEvent) { |
48 | 48 | |
49 | - $this->initCollection($event->getWriteMode(),$points->getPrecision()); |
|
49 | + $this->initCollection($event->getWriteMode(), $points->getPrecision()); |
|
50 | 50 | |
51 | 51 | /** @var PointsCollection $actualCollection */ |
52 | 52 | $actualCollection = $this->pointCollections[$event->getWriteMode()][$points->getPrecision()]; |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | return false; |
77 | 77 | } |
78 | 78 | |
79 | - if (! empty($this->pointCollections)) { |
|
79 | + if (!empty($this->pointCollections)) { |
|
80 | 80 | |
81 | 81 | foreach ($this->pointCollections as $writeMode => $precisionGroup) { |
82 | 82 | /** @var PointsCollection $pointsCollection */ |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | */ |
112 | 112 | private function initCollection(string $getWriteMode, string $getPrecision) |
113 | 113 | { |
114 | - if (! isset($this->pointCollections[$getWriteMode])) { |
|
114 | + if (!isset($this->pointCollections[$getWriteMode])) { |
|
115 | 115 | $this->pointCollections[$getWriteMode] = null; |
116 | 116 | } |
117 | 117 |