original_string: public function addMessage(string $message)
    {
      if ( false === ($step=$this->currentStep()) ){
        throw new \Exception('No current step');
      }
      
      $step->addMessage($message);
      return $this;
    }
code: public function addMessage(string $message)
    {
      if ( false === ($step=$this->currentStep()) ){
        throw new \Exception('No current step');
      }
      
      $step->addMessage($message);
      return $this;
    }
code_tokens: public function addMessage ( string $ message ) { if ( false === ( $ step = $ this -> currentStep ( ) ) ) { throw new \ Exception ( 'No current step' ) ; } $ step -> addMessage ( $ message ) ; return $ this ; }
docstring: Add message to current step
docstring_tokens: Add message to current step