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 4
4
5
5
use Dibi \Fluent ;
6
6
use PHPStan \Broker \Broker ;
7
- use PHPStan \Reflection \ParametersAcceptorSelector ;
8
7
use PHPStan \Testing \PHPStanTestCase ;
9
8
use PHPStan \Type \VerbosityLevel ;
10
9
use stdClass ;
@@ -52,7 +51,7 @@ public function testGetMethod(): void
52
51
{
53
52
$ classReflection = $ this ->broker ->getClass (Fluent::class);
54
53
$ methodReflection = $ this ->extension ->getMethod ($ classReflection , 'select ' );
55
- $ parametersAcceptor = ParametersAcceptorSelector:: selectSingle ( $ methodReflection ->getVariants ()) ;
54
+ $ parametersAcceptor = $ methodReflection ->getVariants ()[ 0 ] ;
56
55
self ::assertSame ('select ' , $ methodReflection ->getName ());
57
56
self ::assertSame ($ classReflection , $ methodReflection ->getDeclaringClass ());
58
57
self ::assertFalse ($ methodReflection ->isStatic ());
You can’t perform that action at this time.
0 commit comments