original_string: public function addOptions(array $options) : Getopt
      {
          if (!empty($this->options)){
              $this->options = array_merge($this->options, $options);
          }
          else{
              $this->options = $options;
          }
          return $this;
      }
code: public function addOptions(array $options) : Getopt
      {
          if (!empty($this->options)){
              $this->options = array_merge($this->options, $options);
          }
          else{
              $this->options = $options;
          }
          return $this;
      }
code_tokens: public function addOptions ( array $ options ) : Getopt { if ( ! empty ( $ this -> options ) ) { $ this -> options = array_merge ( $ this -> options , $ options ) ; } else { $ this -> options = $ options ; } return $ this ; }
docstring: Add short options
  
  @param array $options
  
  @return Getopt
docstring_tokens: Add short options