Completed
Push — master ( 3ef496...e02ad7 )
by Christian
12:02 queued 09:26
created
Cmfcmf/OpenWeatherMap.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * OpenWeatherMap-PHP-API — A php api to parse weather data from http://www.OpenWeatherMap.org .
4
- *
5
- * @license MIT
6
- *
7
- * Please see the LICENSE file distributed with this source code for further
8
- * information regarding copyright and licensing.
9
- *
10
- * Please visit the following links to read about the usage policies and the license of
11
- * OpenWeatherMap before using this class:
12
- *
13
- * @see http://www.OpenWeatherMap.org
14
- * @see http://www.OpenWeatherMap.org/terms
15
- * @see http://openweathermap.org/appid
16
- */
3
+     * OpenWeatherMap-PHP-API — A php api to parse weather data from http://www.OpenWeatherMap.org .
4
+     *
5
+     * @license MIT
6
+     *
7
+     * Please see the LICENSE file distributed with this source code for further
8
+     * information regarding copyright and licensing.
9
+     *
10
+     * Please visit the following links to read about the usage policies and the license of
11
+     * OpenWeatherMap before using this class:
12
+     *
13
+     * @see http://www.OpenWeatherMap.org
14
+     * @see http://www.OpenWeatherMap.org/terms
15
+     * @see http://openweathermap.org/appid
16
+     */
17 17
 
18 18
 namespace Cmfcmf\OpenWeatherMap\Tests\Fetcher;
19 19
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -540,9 +540,9 @@
 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.