original_string: public function clear(): void
      {
          if (!$this->overwrite) {
              return;
          }
  
          if (null === $this->format) {
              $this->setRealFormat($this->internalFormat ?: $this->determineBestFormat());
          }
  
          $this->overwrite('');
      }
code: public function clear(): void
      {
          if (!$this->overwrite) {
              return;
          }
  
          if (null === $this->format) {
              $this->setRealFormat($this->internalFormat ?: $this->determineBestFormat());
          }
  
          $this->overwrite('');
      }
code_tokens: public function clear ( ) : void { if ( ! $ this -> overwrite ) { return ; } if ( null === $ this -> format ) { $ this -> setRealFormat ( $ this -> internalFormat ? : $ this -> determineBestFormat ( ) ) ; } $ this -> overwrite ( '' ) ; }
docstring: Removes the progress bar from the current line.
  
  This is useful if you wish to write some output
  while a progress bar is running.
  Call display() to show the progress bar again.
docstring_tokens: Removes the progress bar from the current line .