original_string: public function renameRemoteFile($from, $to)
      {
          if(@ssh2_sftp_rename($this->sftp, $from, $to)){
              throw new \Exception("Could not rename file from $from to $to");
          }
  
          return true;
      }
code: public function renameRemoteFile($from, $to)
      {
          if(@ssh2_sftp_rename($this->sftp, $from, $to)){
              throw new \Exception("Could not rename file from $from to $to");
          }
  
          return true;
      }
code_tokens: public function renameRemoteFile ( $ from , $ to ) { if ( @ ssh2_sftp_rename ( $ this -> sftp , $ from , $ to ) ) { throw new \ Exception ( "Could not rename file from $from to $to" ) ; } return true ; }
docstring: Renames remote files
  @param string $from The old path/file name
  @param string $to The new path/file name
docstring_tokens: Renames remote files