Passed
Push — master ( 821c4e...144d24 )
by Petr
02:14
created
php-src/Codecs/Degrees.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public function toLonLat(Interfaces\IFormatted $source): Interfaces\INumbers
57 57
     {
58 58
         return (clone $this->pos)->setData(
59
-            $this->fromDegrees(strval($source->getLongitude()),360, 180, 'W', 'E'),
59
+            $this->fromDegrees(strval($source->getLongitude()), 360, 180, 'W', 'E'),
60 60
             $this->fromDegrees(strval($source->getLatitude()), 180, 90, 'S', 'N'),
61 61
             floatval(strval($source->getAltitude()))
62 62
         );
@@ -99,6 +99,6 @@  discard block
 block discarded – undo
99 99
 
100 100
     protected function plusMinus(string $input, string $forNegative, string $forPositive): float
101 101
     {
102
-        return (false !== strpos($input, $forNegative)) ? -1 : 1 ;
102
+        return (false !== strpos($input, $forNegative)) ? -1 : 1;
103 103
     }
104 104
 }
Please login to merge, or discard this patch.