Completed
Push — master ( 3718bf...59e23c )
by Pol
02:36
created
src/Examples/Location.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,9 @@
 block discarded – undo
24 24
       ->getData();
25 25
 
26 26
     $this->coordinates = [
27
-      'x' => rad2deg($result[0] * 2 * pi() - pi()),
28
-      'y' => rad2deg(pi()/2 - acos($result[1] * 2 - 1)),
29
-      'z' => $result[2] * 1000,
27
+      'x' => rad2deg($result[0]*2*pi() - pi()),
28
+      'y' => rad2deg(pi()/2 - acos($result[1]*2 - 1)),
29
+      'z' => $result[2]*1000,
30 30
     ];
31 31
 
32 32
     return $this;
Please login to merge, or discard this patch.