PHPStan\Reflection\Php\PhpParameterReflection::__construct PHP Method

__construct() public method

public __construct ( ReflectionParameter $reflection, PHPStan\Type\Type $phpDocType = null )
$reflection ReflectionParameter
$phpDocType PHPStan\Type\Type
    public function __construct(\ReflectionParameter $reflection, Type $phpDocType = null)
    {
        $this->reflection = $reflection;
        $this->phpDocType = $phpDocType;
    }