@@ -127,7 +127,7 @@ |
||
| 127 | 127 | |
| 128 | 128 | public function getUnitName(): string |
| 129 | 129 | { |
| 130 | - return $this->change->getUnitName() . ' per ' . $this->time->getUnitName(); |
|
| 130 | + return $this->change->getUnitName().' per '.$this->time->getUnitName(); |
|
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | public function __toString(): string |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | { |
| 61 | 61 | $candidatePaths = $this->buildTransformationPathsToCRS($to); |
| 62 | 62 | |
| 63 | - usort($candidatePaths, static function (array $a, array $b) { |
|
| 63 | + usort($candidatePaths, static function(array $a, array $b) { |
|
| 64 | 64 | return count($a['path']) <=> count($b['path']) ?: $a['accuracy'] <=> $b['accuracy']; |
| 65 | 65 | }); |
| 66 | 66 | |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | */ |
| 120 | 120 | protected function buildTransformationPathsToCRS(CoordinateReferenceSystem $target): array |
| 121 | 121 | { |
| 122 | - $cacheKey = $this->getCRS()->getSRID() . '|' . $target->getSRID(); |
|
| 122 | + $cacheKey = $this->getCRS()->getSRID().'|'.$target->getSRID(); |
|
| 123 | 123 | if (!isset(self::$pathCache[$cacheKey])) { |
| 124 | 124 | $simplePaths = []; |
| 125 | 125 | |