Skip to content

Commit 8e7e747

Browse files
authored
Merge pull request #112 from cmfcmf/issue-110
Set default forecast days to 5 (max. available to free api keys)
2 parents 0877c31 + 99c9a0b commit 8e7e747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/WeatherForecast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
$owm = new OpenWeatherMap($myApiKey);
3030

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

3535
echo "City: " . $forecast->city->name;

0 commit comments

Comments
 (0)