original_string: public function move(string $old, string $new){
      if (
        !empty($old) &&
        !empty($new) &&
        ($old = $this->checkFilePath($old)) &&
        ftp_rename($this->cn, $old, $new)
      ){
        return true;
      }
      return false;
    }
code: public function move(string $old, string $new){
      if (
        !empty($old) &&
        !empty($new) &&
        ($old = $this->checkFilePath($old)) &&
        ftp_rename($this->cn, $old, $new)
      ){
        return true;
      }
      return false;
    }
code_tokens: public function move ( string $ old , string $ new ) { if ( ! empty ( $ old ) && ! empty ( $ new ) && ( $ old = $ this -> checkFilePath ( $ old ) ) && ftp_rename ( $ this -> cn , $ old , $ new ) ) { return true ; } return false ; }
docstring: Moves or renames a file on the server
  
  @param string $old The old file full path
  @param string $new The new file full path
  @return bool
docstring_tokens: Moves or renames a file on the server