Passed
Push — 4.0.x ( 414ad0 )
by Doug
05:36
created
src/Datum/PrimeMeridian.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,6 +180,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/CoordinateOperation/AutoConversion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.