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 10
10
use function PHPUnit \Framework \assertContains ;
11
11
use function PHPUnit \Framework \assertContainsOnly ;
12
12
use function PHPUnit \Framework \assertEmpty ;
13
+ use function PHPUnit \Framework \assertInstanceOf ;
13
14
use function PHPUnit \Framework \assertIsArray ;
14
15
use function PHPUnit \Framework \assertIsBool ;
15
- use function PHPUnit \Framework \assertIsObject ;
16
16
use function PHPUnit \Framework \assertIsString ;
17
17
use function PHPUnit \Framework \assertMatchesRegularExpression ;
18
18
use function version_compare ;
@@ -37,7 +37,7 @@ class RunOnRequirement
37
37
38
38
private ?array $ topologies = null ;
39
39
40
- private ?object $ serverParameters = null ;
40
+ private ?stdClass $ serverParameters = null ;
41
41
42
42
private ?bool $ auth = null ;
43
43
@@ -83,7 +83,7 @@ public function __construct(stdClass $o)
83
83
}
84
84
85
85
if (isset ($ o ->serverParameters )) {
86
- assertIsObject ( $ o ->serverParameters );
86
+ assertInstanceOf (stdClass::class, $ o ->serverParameters );
87
87
$ this ->serverParameters = $ o ->serverParameters ;
88
88
}
89
89
You can’t perform that action at this time.
0 commit comments