Class PHPStan\BetterReflection\Reflection\Adapter\ReflectionParameterWithDocComment

final
extends ReflectionParameter

ReflectionParameter::getDocComment() exists since PHP 8.6. This class is not downgraded so the native return type stays compatible with the parent.

Methods
Methods inherited from PHPStan\BetterReflection\Reflection\Adapter\ReflectionParameter
__construct(), __toString(), getName(), getBetterReflection(), isPassedByReference(), canBePassedByValue(), getDeclaringFunction(), getDeclaringClass(), getClass(), isArray(), isCallable(), allowsNull(), getPosition(), isOptional(), isVariadic(), isDefaultValueAvailable(), getDefaultValue(), getDefaultValueExpression(), isDefaultValueConstant(), getDefaultValueConstantName(), hasType(), getType(), isPromoted(), getAttributes(), __get()