Skip to content

Commit

Permalink
Fix wrong property type
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Jul 14, 2023
1 parent dc6a7b0 commit 6eee5ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/UnifiedSpecTests/RunOnRequirement.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
use stdClass;

use function array_diff;
use function assertInstanceOf;
use function in_array;
use function PHPUnit\Framework\assertContains;
use function PHPUnit\Framework\assertContainsOnly;
use function PHPUnit\Framework\assertEmpty;
use function PHPUnit\Framework\assertIsArray;
use function PHPUnit\Framework\assertIsBool;
use function PHPUnit\Framework\assertIsObject;
use function PHPUnit\Framework\assertIsString;
use function PHPUnit\Framework\assertMatchesRegularExpression;
use function version_compare;
Expand All @@ -37,7 +37,7 @@ class RunOnRequirement

private ?array $topologies = null;

private ?object $serverParameters = null;
private ?stdClass $serverParameters = null;

private ?bool $auth = null;

Expand Down Expand Up @@ -83,7 +83,7 @@ public function __construct(stdClass $o)
}

if (isset($o->serverParameters)) {
assertIsObject($o->serverParameters);
assertInstanceOf(stdClass::class, $o->serverParameters);
$this->serverParameters = $o->serverParameters;
}

Expand Down

0 comments on commit 6eee5ec

Please sign in to comment.