Completed
Pull Request — master (#42)
by Pol
13s
created
examples/Location.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@
 block discarded – undo
31 31
         $result = $this->getRandomOrgAPI()->getData($provider);
32 32
 
33 33
         $this->coordinates = [
34
-            'x' => rad2deg($result[0] * 2 * M_PI - M_PI),
35
-            'y' => rad2deg(M_PI / 2 - acos($result[1] * 2 - 1)),
36
-            'z' => $result[2] * 1000,
34
+            'x' => rad2deg($result[0]*2*M_PI - M_PI),
35
+            'y' => rad2deg(M_PI/2 - acos($result[1]*2 - 1)),
36
+            'z' => $result[2]*1000,
37 37
         ];
38 38
 
39 39
         return $this;
Please login to merge, or discard this patch.