We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef496c commit e02ad7dCopy full SHA for e02ad7d
Cmfcmf/OpenWeatherMap.php
@@ -71,9 +71,9 @@ class OpenWeatherMap
71
private $seconds;
72
73
/**
74
- * @var Bool True if the last call was fetched from cache, usefull for rate limits
+ * @var bool
75
*/
76
- private $wasCached=false;
+ private $wasCached = false;
77
78
79
* @var FetcherInterface The url fetcher.
@@ -605,11 +605,9 @@ private function buildQueryUrlParameter($query)
605
}
606
607
608
- * Shows it the last result was fetched from cache
609
- *
+ * Returns whether or not the last result was fetched from the cache.
610
*
611
* @return bool true if last result was fetched from cache, otherwise false.
612
613
614
public function wasCached()
615
{
0 commit comments