Skip to content

Commit 8bc57be

Browse files
committed
fix coding style
1 parent a856e3e commit 8bc57be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cmfcmf/OpenWeatherMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public function getRawUviData($query, $appid = '')
465465
{
466466
if (!is_array($query)) {
467467
throw new \InvalidArgumentException('$query must get information is as follows: [latitude, longitude]');
468-
} elseif(count($query) != 2) {
468+
} elseif (count($query) != 2) {
469469
throw new \InvalidArgumentException('$query must get information is as follows: [latitude, longitude]');
470470
} else {
471471
$url = $this->buildUviUrl($query, $appid);
@@ -492,7 +492,7 @@ public function getRawUviHistory($query, $appid = '')
492492
{
493493
if (!is_array($query)) {
494494
throw new \InvalidArgumentException('$query must get information is as follows: [latitude, longitude, ISO 8601 date format]');
495-
} elseif(count($query) != 3) {
495+
} elseif (count($query) != 3) {
496496
throw new \InvalidArgumentException('$query must get information is as follows: [latitude, longitude, ISO 8601 date format]');
497497
} else {
498498
$url = $this->buildUviUrl($query, $appid);

0 commit comments

Comments
 (0)