original_string: public function update_full($percent, $msg) {
          $percent = max(min($percent, 100), 0);
          $this->_update($percent, $msg);
      }
code: public function update_full($percent, $msg) {
          $percent = max(min($percent, 100), 0);
          $this->_update($percent, $msg);
      }
code_tokens: public function update_full ( $ percent , $ msg ) { $ percent = max ( min ( $ percent , 100 ) , 0 ) ; $ this -> _update ( $ percent , $ msg ) ; }
docstring: Update progress bar according percent.
  
  @param int $percent From 1-100.
  @param string $msg The message needed to be shown.
docstring_tokens: Update progress bar according percent .