src/Neutrino/Cli/Question/ChoiceQuestion.php
public function setMaxAttempts($maxAttempts)
    {
        if (null !== $maxAttempts && $maxAttempts < 1) {
            throw new \InvalidArgumentException('Maximum number of attempts must be a positive value.');
        }

        $this->maxAttempts = $maxAttempts;

        return $this;
    }
public function setMaxAttempts($maxAttempts)
    {
        if (null !== $maxAttempts && $maxAttempts < 1) {
            throw new \InvalidArgumentException('Maximum number of attempts must be a positive value.');
        }

        $this->maxAttempts = $maxAttempts;

        return $this;
    }
@param int $maxAttempts

@return $this