You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case (is_array($query) && isset($query['lat']) && isset($query['lon']) && is_numeric($query['lat']) && is_numeric($query['lon'])):
589
598
return"lat={$query['lat']}&lon={$query['lon']}";
@@ -595,4 +604,18 @@ private function buildQueryUrlParameter($query)
595
604
thrownew \InvalidArgumentException('Error: $query has the wrong format. See the documentation of OpenWeatherMap::getRawData() to read about valid formats.');
596
605
}
597
606
}
607
+
608
+
/**
609
+
* Shows it the last result was fetched from cache
610
+
*
611
+
*
612
+
* @return bool true if last result was fetched from cache, otherwise false.
0 commit comments