Skip to content

Commit 83a2f6d

Browse files
docblocks adjusted
docblocks adjusted to reflect the change
1 parent 0aedcd7 commit 83a2f6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cmfcmf/OpenWeatherMap.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function getWeather($query, $units = 'imperial', $lang = 'en', $appid = '
179179
* @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned.
180180
* @param string $lang The language to use for descriptions, default is 'en'. For possible values see below.
181181
* @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details.
182-
* @param int $days For how much days you want to get a forecast. Default 1, maximum: 14.
182+
* @param int $days For how much days you want to get a forecast. Default 1, maximum: 16.
183183
*
184184
* @throws OpenWeatherMap\Exception If OpenWeatherMap returns an error.
185185
* @throws \InvalidArgumentException If an argument error occurs.
@@ -407,9 +407,9 @@ public function getRawHourlyForecastData($query, $units = 'imperial', $lang = 'e
407407
* @param string $lang The language to use for descriptions, default is 'en'. For possible values see below.
408408
* @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details.
409409
* @param string $mode The format of the data fetched. Possible values are 'json', 'html' and 'xml' (default)
410-
* @param int $cnt How many days of forecast shall be returned? Maximum (and default): 14
410+
* @param int $cnt How many days of forecast shall be returned? Maximum (and default): 16
411411
*
412-
* @throws \InvalidArgumentException If $cnt is higher than 14.
412+
* @throws \InvalidArgumentException If $cnt is higher than 16.
413413
* @return string Returns false on failure and the fetched data in the format you specified on success.
414414
*
415415
* Warning If an error occurred, OpenWeatherMap returns data in json format ALWAYS

0 commit comments

Comments
 (0)