Skip to content

Commit a27368f

Browse files
committed
Latest round of compatibility fixes for PHPStan 0.9
1 parent 19de810 commit a27368f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Reflection/Doctrine/DoctrineSelectableClassReflectionExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function hasMethod(\PHPStan\Reflection\ClassReflection $classReflection,
2222
public function getMethod(\PHPStan\Reflection\ClassReflection $classReflection, string $methodName): \PHPStan\Reflection\MethodReflection
2323
{
2424
$selectableReflection = $this->broker->getClass(\Doctrine\Common\Collections\Selectable::class);
25-
return $selectableReflection->getMethod($methodName);
25+
return $selectableReflection->getNativeMethod($methodName);
2626
}
2727

2828
}

0 commit comments

Comments
 (0)