Skip to content

Commit 17f395a

Browse files
committed
Fix wrong property type
1 parent a39cc24 commit 17f395a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/UnifiedSpecTests/RunOnRequirement.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
use function PHPUnit\Framework\assertContains;
1111
use function PHPUnit\Framework\assertContainsOnly;
1212
use function PHPUnit\Framework\assertEmpty;
13+
use function PHPUnit\Framework\assertInstanceOf;
1314
use function PHPUnit\Framework\assertIsArray;
1415
use function PHPUnit\Framework\assertIsBool;
15-
use function PHPUnit\Framework\assertIsObject;
1616
use function PHPUnit\Framework\assertIsString;
1717
use function PHPUnit\Framework\assertMatchesRegularExpression;
1818
use function version_compare;
@@ -37,7 +37,7 @@ class RunOnRequirement
3737

3838
private ?array $topologies = null;
3939

40-
private ?object $serverParameters = null;
40+
private ?stdClass $serverParameters = null;
4141

4242
private ?bool $auth = null;
4343

@@ -83,7 +83,7 @@ public function __construct(stdClass $o)
8383
}
8484

8585
if (isset($o->serverParameters)) {
86-
assertIsObject($o->serverParameters);
86+
assertInstanceOf(stdClass::class, $o->serverParameters);
8787
$this->serverParameters = $o->serverParameters;
8888
}
8989

0 commit comments

Comments
 (0)