We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e99f8 commit 4ee4b8bCopy full SHA for 4ee4b8b
Cmfcmf/OpenWeatherMap/Util/Weather.php
@@ -42,7 +42,7 @@ class Weather
42
*
43
* @see self::getIconUrl() to see how it is used.
44
*/
45
- private $iconUrl = "http://openweathermap.org/img/w/%s.png";
+ private $iconUrl = "//openweathermap.org/img/w/%s.png";
46
47
/**
48
* Create a new weather object.
tests/Util/WeatherTest.php
@@ -38,7 +38,7 @@ public function test__toString()
38
39
public function testGetIconUrl()
40
{
41
- $expectIconLink = 'http://openweathermap.org/img/w/11d.png';
+ $expectIconLink = '//openweathermap.org/img/w/11d.png';
$weather = $this->weather;
$iconLink = $weather->getIconUrl();
0 commit comments