original_string: public function getFileStats($path)
      {
          $stats = @ssh2_sftp_stat($this->sftp, $path);
          if(!$stats['size']){
              throw new \Exception("Could get file stat: ".$path);
          }
          return $stats;
      }
code: public function getFileStats($path)
      {
          $stats = @ssh2_sftp_stat($this->sftp, $path);
          if(!$stats['size']){
              throw new \Exception("Could get file stat: ".$path);
          }
          return $stats;
      }
code_tokens: public function getFileStats ( $ path ) { $ stats = @ ssh2_sftp_stat ( $ this -> sftp , $ path ) ; if ( ! $ stats [ 'size' ] ) { throw new \ Exception ( "Could get file stat: " . $ path ) ; } return $ stats ; }
docstring: Gets remote file stats
  @param string $path The path to the file to get stats for
  @return Array with size, gid, uid, atime, mtime, mode keys
docstring_tokens: Gets remote file stats