File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010use function PHPUnit \Framework \assertContains ;
1111use function PHPUnit \Framework \assertContainsOnly ;
1212use function PHPUnit \Framework \assertEmpty ;
13+ use function PHPUnit \Framework \assertInstanceOf ;
1314use function PHPUnit \Framework \assertIsArray ;
1415use function PHPUnit \Framework \assertIsBool ;
15- use function PHPUnit \Framework \assertIsObject ;
1616use function PHPUnit \Framework \assertIsString ;
1717use function PHPUnit \Framework \assertMatchesRegularExpression ;
1818use 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
You can’t perform that action at this time.
0 commit comments