Passed
Push — master ( 1f2e81...28a1aa )
by Andrii
01:21
created
src/Search/NearestSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
     private function reset(): void
96 96
     {
97
-        $this->bestDistance = (float)PHP_INT_MAX;
97
+        $this->bestDistance = (float) PHP_INT_MAX;
98 98
         $this->closestPoint = null;
99 99
         $this->visited = 0;
100 100
     }
Please login to merge, or discard this patch.
tests/Search/PartitionSearchTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $partitionSearch = new PartitionSearch($this->prepareKdTree());
18 18
         $pointsList = new PointsList(2);
19 19
         $pointsList->addPoint(new Point(80, 80))
20
-            ->addPoint(new Point(99,99))
20
+            ->addPoint(new Point(99, 99))
21 21
             ->addPoint(new Point(70, 70))
22 22
             ->addPoint(new Point(60, 70));
23 23
         $partition = new Partition($pointsList);
Please login to merge, or discard this patch.