20
20
class ClusteringPerformanceTest extends TestCase
21
21
{
22
22
/**
23
- * @const array<float>
23
+ * @var array<float>
24
24
*/
25
25
private const ZOOMS = [
26
26
2.0 ,
@@ -29,7 +29,7 @@ class ClusteringPerformanceTest extends TestCase
29
29
];
30
30
31
31
/**
32
- * @const array<string>
32
+ * @var array<string>
33
33
*/
34
34
private const ALGORITHMS = [
35
35
GridClusteringAlgorithm::class,
@@ -53,7 +53,7 @@ public static function algorithmProvider(): iterable
53
53
*
54
54
* @dataProvider algorithmProvider
55
55
*/
56
- public function testScenarioRegion50000 (ClusteringAlgorithmInterface $ algorithm , float $ zoom ): void
56
+ public function testScenarioRegion50000 (ClusteringAlgorithmInterface $ algorithm , float $ zoom )
57
57
{
58
58
$ points = $ this ->generatePoints (50000 , 48.8 , 49 , 2.2 , 2.5 );
59
59
@@ -65,7 +65,7 @@ public function testScenarioRegion50000(ClusteringAlgorithmInterface $algorithm,
65
65
*
66
66
* @dataProvider algorithmProvider
67
67
*/
68
- public function testScenarioCountry5000 (ClusteringAlgorithmInterface $ algorithm , float $ zoom ): void
68
+ public function testScenarioCountry5000 (ClusteringAlgorithmInterface $ algorithm , float $ zoom )
69
69
{
70
70
$ points = $ this ->generatePoints (5000 , 30 , 60 , -10 , 35 );
71
71
@@ -77,7 +77,7 @@ public function testScenarioCountry5000(ClusteringAlgorithmInterface $algorithm,
77
77
*
78
78
* @dataProvider algorithmProvider
79
79
*/
80
- public function testScenarioWorld100000 (ClusteringAlgorithmInterface $ algorithm , float $ zoom ): void
80
+ public function testScenarioWorld100000 (ClusteringAlgorithmInterface $ algorithm , float $ zoom )
81
81
{
82
82
$ points = $ this ->generatePoints (100000 , -90 , 90 , -180 , 180 );
83
83
0 commit comments