@@ -542,7 +542,7 @@ discard block |
||
542 | 542 | $cache->setSeconds($this->seconds); |
543 | 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); |
@@ -615,7 +615,7 @@ discard block |
||
615 | 615 | public function wasCached() |
616 | 616 | { |
617 | 617 | |
618 | - return $this->wasCached; |
|
618 | + return $this->wasCached; |
|
619 | 619 | } |
620 | 620 | |
621 | 621 | } |
@@ -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; |
19 | 19 |
@@ -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; |
19 | 19 |
@@ -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\Fetcher; |
19 | 19 |
@@ -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\Fetcher; |
19 | 19 |
@@ -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; |
19 | 19 |
@@ -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; |
19 | 19 |
@@ -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\Util; |
19 | 19 |
@@ -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\Util; |
19 | 19 |