@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * @var Bool True if the last call was fetched from cache, usefull for rate limits |
75 | 75 | */ |
76 | - private $wasCached=false; |
|
76 | + private $wasCached = false; |
|
77 | 77 | |
78 | 78 | /** |
79 | 79 | * @var FetcherInterface The url fetcher. |
@@ -540,9 +540,9 @@ discard block |
||
540 | 540 | /** @var \Cmfcmf\OpenWeatherMap\AbstractCache $cache */ |
541 | 541 | $cache = $this->cacheClass; |
542 | 542 | $cache->setSeconds($this->seconds); |
543 | - $this->wasCached=false; |
|
543 | + $this->wasCached = false; |
|
544 | 544 | if ($cache->isCached($url)) { |
545 | - $this->wasCached=true; |
|
545 | + $this->wasCached = true; |
|
546 | 546 | return $cache->getCached($url); |
547 | 547 | } |
548 | 548 | $result = $this->fetcher->fetch($url); |