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