@@ -180,6 +180,6 @@ |
||
| 180 | 180 | |
| 181 | 181 | public static function getSupportedSRIDs(): array |
| 182 | 182 | { |
| 183 | - return array_map(function ($sridData) {return $sridData['name']; }, static::$sridData); |
|
| 183 | + return array_map(function($sridData) {return $sridData['name']; }, static::$sridData); |
|
| 184 | 184 | } |
| 185 | 185 | } |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | $asGeog = $this->asGeographicValue(); |
| 54 | 54 | $lat = $asGeog->getLatitude()->asDegrees()->getValue(); |
| 55 | 55 | $long = $asGeog->getLongitude()->asDegrees()->getValue(); |
| 56 | - $candidates = array_filter($candidates, function (array $candidate) use ($lat, $long, $ignoreBoundaryRestrictions) { |
|
| 56 | + $candidates = array_filter($candidates, function(array $candidate) use ($lat, $long, $ignoreBoundaryRestrictions) { |
|
| 57 | 57 | $operation = CoordinateOperations::getOperationData($candidate['operation']); |
| 58 | 58 | $ok = true; |
| 59 | 59 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | return $ok; |
| 94 | 94 | }); |
| 95 | 95 | |
| 96 | - usort($candidates, static function (array $a, array $b) { return $a['accuracy'] <=> $b['accuracy']; }); |
|
| 96 | + usort($candidates, static function(array $a, array $b) { return $a['accuracy'] <=> $b['accuracy']; }); |
|
| 97 | 97 | |
| 98 | 98 | if (!$candidates) { |
| 99 | 99 | throw new UnknownConversionException('Unable to perform conversion, please file a bug if you think this is incorrect'); |