Passed
Push — master ( e85e4e...fa12a2 )
by Christoffer
02:29
created
src/Models/WeatherForecast.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 
15 15
     public function fetchApiKey()
16 16
     {
17
-        $access_key = require ANAX_INSTALL_PATH . "/config/weatherapi.php";
17
+        $access_key = require ANAX_INSTALL_PATH."/config/weatherapi.php";
18 18
         $access_key = $access_key["weatherKeyHolder"]["weatherKey"];
19 19
         return $access_key;
20 20
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             foreach ($week as $value) {
43 43
                 $current = [
44 44
                     "date" => gmdate("Y-m-d", $value["dt"]),
45
-                    "temp" => $value["temp"]["min"] . " - " . $value["temp"]["max"],
45
+                    "temp" => $value["temp"]["min"]." - ".$value["temp"]["max"],
46 46
                     "description" => $value["weather"][0]["description"]
47 47
                 ];
48 48
                 $this->oneWeek[] = $current;
Please login to merge, or discard this patch.