minValue = $minValue; $this->maxValue = $maxValue; } public function underlyingType(): Type { return new Integer(); } public function getMinValue(): string { return $this->minValue; } public function getMaxValue(): string { return $this->maxValue; } /** * Returns a rendered output of the Type as it would be used in a DocBlock. */ public function __toString(): string { return 'int<' . $this->minValue . ', ' . $this->maxValue . '>'; } }