Passed
Push — 4.x ( 1d49e7...4cde9a )
by Doug
06:44
created
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.