Skip to content

Commit d646b0a

Browse files
committed
Apply fixes from StyleCI
1 parent f7f01e2 commit d646b0a

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

Cmfcmf/OpenWeatherMap/AirPollution/NO2AirPollution.php

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
class NO2AirPollution extends BaseAirPollution
2424
{
25-
2625
/**
2726
* @var Unit
2827
*/

Cmfcmf/OpenWeatherMap/AirPollution/O3AirPollution.php

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
class O3AirPollution extends BaseAirPollution
2424
{
25-
2625
/**
2726
* @var Unit
2827
*/

Cmfcmf/OpenWeatherMap/AirPollution/PrecisionPressureValueAirPollution.php

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
class PrecisionPressureValueAirPollution extends BaseAirPollution
2424
{
25-
2625
/**
2726
* @var object[]
2827
*/

tests/MyTestCase.php

+11-11
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ public static function assertInternalType(string $expected, $actual, string $mes
2424
{
2525
if (version_compare(phpversion(), '7.2', '>=')) {
2626
switch ($expected) {
27-
case 'string':
28-
static::assertIsString($actual);
29-
break;
30-
case 'object':
31-
static::assertIsObject($actual);
32-
break;
33-
case 'float':
34-
static::assertIsFloat($actual);
35-
break;
36-
default:
37-
throw new Error();
27+
case 'string':
28+
static::assertIsString($actual);
29+
break;
30+
case 'object':
31+
static::assertIsObject($actual);
32+
break;
33+
case 'float':
34+
static::assertIsFloat($actual);
35+
break;
36+
default:
37+
throw new Error();
3838
}
3939
} else {
4040
\PHPUnit\Framework\TestCase::assertInternalType($expected, $actual, $message);

0 commit comments

Comments
 (0)