@@ -1,19 +1,19 @@ |
||
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 |
@@ -540,9 +540,9 @@ |
||
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); |