Skip to content

Commit 95f3aa7

Browse files
committed
Fix after PHPStan update
1 parent 9ffd0e1 commit 95f3aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Reflection/Dibi/DibiFluentClassReflectionExtensionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testGetMethod(): void
5252
{
5353
$classReflection = $this->broker->getClass(Fluent::class);
5454
$methodReflection = $this->extension->getMethod($classReflection, 'select');
55-
$parametersAcceptor = ParametersAcceptorSelector::selectSingle($methodReflection->getVariants());
55+
$parametersAcceptor = $methodReflection->getVariants()[0];
5656
self::assertSame('select', $methodReflection->getName());
5757
self::assertSame($classReflection, $methodReflection->getDeclaringClass());
5858
self::assertFalse($methodReflection->isStatic());

0 commit comments

Comments
 (0)