Completed
Push — analysis-8nJpN8 ( 9a23dc )
by Christian
09:25 queued 06:43
created
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-call_user_func(function () {
3
+call_user_func(function() {
4 4
     if (!is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) {
5 5
         throw new \RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?');
6 6
     }
Please login to merge, or discard this patch.
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.