Completed
Pull Request — master (#1)
by Victor DA COSTA
01:47
created
src/WindguruAPI.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,6 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * Set the Id of the Spot.
108 108
      *
109
-     * @param string $someArgument The Argument for this call.
110 109
      */
111 110
     public function setSpot($idSpot)
112 111
     {
@@ -212,7 +211,6 @@  discard block
 block discarded – undo
212 211
     /**
213 212
      * Set the data of the Spot on cache.
214 213
      *
215
-     * @param string $data The Data.
216 214
      */
217 215
     private function setCacheData()
218 216
     {
Please login to merge, or discard this patch.
demo.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,12 +17,13 @@
 block discarded – undo
17 17
 
18 18
 if (PHP_SAPI === 'cli') {
19 19
     $idspot = $argv[1];
20
-}
21
-else {
20
+} else {
22 21
     $idspot = $_GET['idspot'];
23 22
 }
24 23
 
25
-if(empty($idspot)) return;
24
+if(empty($idspot)) {
25
+    return;
26
+}
26 27
 
27 28
 $windguruAPI = new WindguruAPI();
28 29
 $windguruAPI->setSpot($idspot);
Please login to merge, or discard this patch.