public function __construct(ClassReflection $declaringClass, ClassMethod $classMethod, array $realParameterTypes, array $phpDocParameterTypes, bool $realReturnTypePresent, Type $realReturnType, Type $phpDocReturnType = null, bool $isVariadic)
{
$this->declaringClass = $declaringClass;
$this->classMethod = $classMethod;
$this->realParameterTypes = $realParameterTypes;
$this->phpDocParameterTypes = $phpDocParameterTypes;
$this->realReturnTypePresent = $realReturnTypePresent;
$this->realReturnType = $realReturnType;
$this->phpDocReturnType = $phpDocReturnType;
$this->isVariadic = $isVariadic;
}