original_string: public function update($cur, $total, $msg) {
          $percent = ($cur / $total) * 100;
          $this->update_full($percent, $msg);
      }
code: public function update($cur, $total, $msg) {
          $percent = ($cur / $total) * 100;
          $this->update_full($percent, $msg);
      }
code_tokens: public function update ( $ cur , $ total , $ msg ) { $ percent = ( $ cur / $ total ) * 100 ; $ this -> update_full ( $ percent , $ msg ) ; }
docstring: Update progress bar according the number of tasks.
  
  @param int $cur Current task number.
  @param int $total Total task number.
  @param string $msg The message needed to be shown.
docstring_tokens: Update progress bar according the number of tasks .