src/ShellOption.php
private function setDescription($description = null)
    {
        if (isset($description) && ! is_string($description)) {
            throw new InvalidArgumentException("Description must be a string. [$description] given.");
        }

        $this->description = $description;
    }
private function setDescription($description = null)
    {
        if (isset($description) && ! is_string($description)) {
            throw new InvalidArgumentException("Description must be a string. [$description] given.");
        }

        $this->description = $description;
    }
private function setDescription ( $ description = null ) { if ( isset ( $ description ) && ! is_string ( $ description ) ) { throw new InvalidArgumentException ( "Description must be a string. [$description] given." ) ; } $ this -> description = $ description ; }
Set the description.

@param string|null $description

@throws InvalidArgumentException
Set the description .