Skip to content

Commit 277357a

Browse files
committed
chore: PHP CS Fixer - apply const->var annotation conversion
with love by PHP Coding Standards Fixer
1 parent 9a41d81 commit 277357a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Map/src/Distance/HaversineDistanceCalculator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
final class HaversineDistanceCalculator implements DistanceCalculatorInterface
2424
{
2525
/**
26-
* @const float The Earth's radius in meters.
26+
* @var float The Earth's radius in meters.
2727
*/
2828
private const EARTH_RADIUS = 6371000.0;
2929

src/Map/src/Distance/SphericalCosineDistanceCalculator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
final class SphericalCosineDistanceCalculator implements DistanceCalculatorInterface
2424
{
2525
/**
26-
* @const float The Earth's radius in meters.
26+
* @var float The Earth's radius in meters.
2727
*/
2828
private const EARTH_RADIUS = 6371000.0;
2929

src/Map/tests/Cluster/ClusteringPerformanceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class ClusteringPerformanceTest extends TestCase
2121
{
2222
/**
23-
* @const array<float>
23+
* @var array<float>
2424
*/
2525
private const ZOOMS = [
2626
2.0,
@@ -29,7 +29,7 @@ class ClusteringPerformanceTest extends TestCase
2929
];
3030

3131
/**
32-
* @const array<string>
32+
* @var array<string>
3333
*/
3434
private const ALGORITHMS = [
3535
GridClusteringAlgorithm::class,

0 commit comments

Comments
 (0)