Skip to content

Commit b9090d0

Browse files
committed
Set default forecast days to 5 (available to free api keys)
1 parent feca123 commit b9090d0

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)