public function getArgument(int $index): ReflectionArgument
    {
        if (!isset($this->arguments[$index])) {
            throw new ReflectionException("No such argument with index '{$index}'");
        }

        return $this->arguments[$index];
    }