original_string: public function date($date)
      {
          if ($date instanceof \DateTime) {
              $date = $date->format('Y-m-d H:i:s');
          }
          $this->arguments[] = '--date=' . $date;
          return $this;
      }
code: public function date($date)
      {
          if ($date instanceof \DateTime) {
              $date = $date->format('Y-m-d H:i:s');
          }
          $this->arguments[] = '--date=' . $date;
          return $this;
      }
code_tokens: public function date ( $ date ) { if ( $ date instanceof \ DateTime ) { $ date = $ date -> format ( 'Y-m-d H:i:s' ) ; } $ this -> arguments [ ] = '--date=' . $ date ; return $ this ; }
docstring: Add the date option to the command line.
  
  @param \DateTime|string $date The timestamp to use for the commit (if string: Y-m-d H:i:s).
  
  @return CommitCommandBuilder
docstring_tokens: Add the date option to the command line .