original_string: public function updateProgress($text) {
  		$text = self::format($text);
  		if($this->progressValue) {
  			$len = strlen($this->progressValue);
  			fwrite(STDOUT, "\033[{$len}D");
  		}
  		$this->progressValue = $text;
  
  		fwrite(STDOUT, $this->progressValue);
  	}
code: public function updateProgress($text) {
  		$text = self::format($text);
  		if($this->progressValue) {
  			$len = strlen($this->progressValue);
  			fwrite(STDOUT, "\033[{$len}D");
  		}
  		$this->progressValue = $text;
  
  		fwrite(STDOUT, $this->progressValue);
  	}
code_tokens: public function updateProgress ( $ text ) { $ text = self :: format ( $ text ) ; if ( $ this -> progressValue ) { $ len = strlen ( $ this -> progressValue ) ; fwrite ( STDOUT , "\033[{$len}D" ) ; } $ this -> progressValue = $ text ; fwrite ( STDOUT , $ this -> progressValue ) ; }
docstring: Updates the output with new text
  
  @param  string $text
docstring_tokens: Updates the output with new text