Skip to content

Commit b81d048

Browse files
committed
Minor CS fixes.
1 parent c32e0e9 commit b81d048

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

integTests/ForecastDailyTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
namespace Cmfcmf\OpenWeatherMap\IntegTests;
1919

2020
use Cmfcmf\OpenWeatherMap;
21-
use Cmfcmf\OpenWeatherMap\Exception as OWMException;
2221

2322
class ForecastDailyTest extends \PHPUnit_Framework_TestCase
2423
{
2524
/**
26-
* @var \OpenWeatherMap
25+
* @var OpenWeatherMap
2726
*/
2827
protected $owm;
2928

@@ -32,8 +31,7 @@ protected function setUp()
3231
$ini = parse_ini_file(__DIR__ . '/ApiKey.ini');
3332
$apiKey = $ini['api_key'];
3433

35-
$this->owm = new OpenWeatherMap();
36-
$this->owm->setApiKey($apiKey);
34+
$this->owm = new OpenWeatherMap($apiKey);
3735
}
3836

3937
public function testTemperatureMetric()

0 commit comments

Comments
 (0)