Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jun 11, 2024
1 parent f7f01e2 commit d646b0a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
1 change: 0 additions & 1 deletion Cmfcmf/OpenWeatherMap/AirPollution/NO2AirPollution.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

class NO2AirPollution extends BaseAirPollution
{

/**
* @var Unit
*/
Expand Down
1 change: 0 additions & 1 deletion Cmfcmf/OpenWeatherMap/AirPollution/O3AirPollution.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

class O3AirPollution extends BaseAirPollution
{

/**
* @var Unit
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

class PrecisionPressureValueAirPollution extends BaseAirPollution
{

/**
* @var object[]
*/
Expand Down
22 changes: 11 additions & 11 deletions tests/MyTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ public static function assertInternalType(string $expected, $actual, string $mes
{
if (version_compare(phpversion(), '7.2', '>=')) {
switch ($expected) {
case 'string':
static::assertIsString($actual);
break;
case 'object':
static::assertIsObject($actual);
break;
case 'float':
static::assertIsFloat($actual);
break;
default:
throw new Error();
case 'string':
static::assertIsString($actual);
break;
case 'object':
static::assertIsObject($actual);
break;
case 'float':
static::assertIsFloat($actual);
break;
default:
throw new Error();
}
} else {
\PHPUnit\Framework\TestCase::assertInternalType($expected, $actual, $message);
Expand Down

0 comments on commit d646b0a

Please sign in to comment.