Skip to content

Commit aeb7a12

Browse files
committed
Merge remote-tracking branch 'remotes/origin/master' into update-vagrant
2 parents 94dd5e4 + 045e765 commit aeb7a12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cmfcmf/OpenWeatherMap/Forecast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct(\SimpleXMLElement $xml, $units)
5959
if ($units == 'metric') {
6060
$windSpeedUnit = 'm/s';
6161
} else {
62-
$windSpeedUnit = 'mps';
62+
$windSpeedUnit = 'mph';
6363
}
6464

6565
$this->wind = new Wind(

Examples/WeatherForecast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// Get OpenWeatherMap object. Don't use caching (take a look into Example_Cache.php to see how it works).
2929
$owm = new OpenWeatherMap($myApiKey);
3030

31-
// Example 1: Get forecast for the next 10 days for Berlin.
31+
// Example 1: Get forecast for the next 5 days for Berlin.
3232
$forecast = $owm->getWeatherForecast('Berlin', $units, $lang, '', 5);
3333
echo "EXAMPLE 1<hr />\n\n\n";
3434

0 commit comments

Comments
 (0)