Skip to content

Commit 7226943

Browse files
authored
Update src/Map/src/Cluster/Cluster.php
1 parent 3697573 commit 7226943

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Map/src/Cluster/Cluster.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ final class Cluster implements \Countable, \IteratorAggregate
2727
*/
2828
private array $points = [];
2929

30-
private float $sumLat;
31-
private float $sumLng;
32-
private int $count;
30+
private float $sumLat = 0.0;
31+
private float $sumLng = 0.0;
32+
private int $count = 0;
3333

3434
/**
3535
* Initializes the cluster with an initial point.

0 commit comments

Comments
 (0)