original_string: public function setAuthor($author)
      {
          if ($author === null) {
              $this->author    = null;
          } else {
              $this->author    = (string)$author;
          }
          return $this;
      }
code: public function setAuthor($author)
      {
          if ($author === null) {
              $this->author    = null;
          } else {
              $this->author    = (string)$author;
          }
          return $this;
      }
code_tokens: public function setAuthor ( $ author ) { if ( $ author === null ) { $ this -> author = null ; } else { $ this -> author = ( string ) $ author ; } return $ this ; }
docstring: Sets  the author that will be used when committing the transaction
  
  @param   string|null     $author      The author
  @return  Transaction
docstring_tokens: Sets the author that will be used when committing the transaction