File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 44
55use Dibi \Fluent ;
66use PHPStan \Broker \Broker ;
7- use PHPStan \Reflection \ParametersAcceptorSelector ;
87use PHPStan \Testing \PHPStanTestCase ;
98use PHPStan \Type \VerbosityLevel ;
109use stdClass ;
@@ -52,7 +51,7 @@ public function testGetMethod(): void
5251 {
5352 $ classReflection = $ this ->broker ->getClass (Fluent::class);
5453 $ methodReflection = $ this ->extension ->getMethod ($ classReflection , 'select ' );
55- $ parametersAcceptor = ParametersAcceptorSelector:: selectSingle ( $ methodReflection ->getVariants ()) ;
54+ $ parametersAcceptor = $ methodReflection ->getVariants ()[ 0 ] ;
5655 self ::assertSame ('select ' , $ methodReflection ->getName ());
5756 self ::assertSame ($ classReflection , $ methodReflection ->getDeclaringClass ());
5857 self ::assertFalse ($ methodReflection ->isStatic ());
You can’t perform that action at this time.
0 commit comments