Skip to content

Commit

Permalink
lowercase parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Aug 26, 2018
1 parent 61d99a0 commit c7955a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Weather.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public function getWeather($city, $type = 'base', $format = 'json')
$query = array_filter([
'key' => $this->key,
'city' => $city,
'output' => $format,
'extensions' => $type,
'output' => \strtolower($format),
'extensions' => \strtolower($type),
]);

try {
Expand Down

0 comments on commit c7955a5

Please sign in to comment.