@@ -94,7 +94,7 @@ |
||
| 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 | } |
@@ -128,13 +128,13 @@ |
||
| 128 | 128 | public function unknownDimensionProvider(): Generator |
| 129 | 129 | { |
| 130 | 130 | yield 'min' => [ |
| 131 | - 'fn' => static function (Partition $partition) { |
|
| 131 | + 'fn' => static function(Partition $partition) { |
|
| 132 | 132 | $partition->getDMin(5); |
| 133 | 133 | } |
| 134 | 134 | ]; |
| 135 | 135 | |
| 136 | 136 | yield 'max' => [ |
| 137 | - 'fn' => static function (Partition $partition) { |
|
| 137 | + 'fn' => static function(Partition $partition) { |
|
| 138 | 138 | $partition->getDMax(5); |
| 139 | 139 | } |
| 140 | 140 | ]; |