Completed
Push — analysis-8nJpN8 ( 9a23dc )
by Christian
09:25 queued 06:43
created
Cmfcmf/OpenWeatherMap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.