Skip to content

Commit 0fab2a3

Browse files
cmfcmfStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent e80fde4 commit 0fab2a3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

tests/ExampleCacheTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ public function setSeconds($seconds)
8181
/**
8282
* @inheritdoc
8383
*/
84-
public function setTempPath($path)
85-
{
86-
if (!is_dir($path)) {
87-
mkdir($path);
88-
}
84+
public function setTempPath($path)
85+
{
86+
if (!is_dir($path)) {
87+
mkdir($path);
88+
}
8989

90-
$this->tmp = $path;
91-
}
90+
$this->tmp = $path;
91+
}
9292
}

tests/Exceptions/OpenWeatherMapExceptionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ public function testGetWeatherHistoryWithEndException()
8585
$this->owm->getWeatherHistory('Berlin', new \DateTime('2015-11-01 00:00:00'), new \DateTime('now'), 'hour', 'imperial', 'en', '');
8686
}
8787

88-
/**
89-
* @expectedException \InvalidArgumentException
90-
*/
88+
/**
89+
* @expectedException \InvalidArgumentException
90+
*/
9191
public function testGetWeatherHistoryInvalidArgumentException()
9292
{
9393
$this->owm->getWeatherHistory('Berlin', new \DateTime('now'), 1, 'wrong-type', 'imperial', 'en', '');

0 commit comments

Comments
 (0)