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  $ topologiesnull ;
3939
40-  private  ?object $ serverParametersnull ;
40+  private  ?stdClass $ serverParametersnull ;
4141
4242 private  ?bool  $ authnull ;
4343
@@ -83,7 +83,7 @@ public function __construct(stdClass $o)
8383 }
8484
8585 if  (isset ($ oserverParameters )) {
86-  assertIsObject ( $ oserverParameters );
86+  assertInstanceOf (stdClass::class,  $ oserverParameters );
8787 $ this serverParameters  = $ oserverParameters ;
8888 }
8989
0 commit comments