original_string: protected function succeed($result = null)
      {
          $this->isFinished = true;
          $this->isSuccess = true;
          $this->result = $result;
      }
code: protected function succeed($result = null)
      {
          $this->isFinished = true;
          $this->isSuccess = true;
          $this->result = $result;
      }
code_tokens: protected function succeed ( $ result = null ) { $ this -> isFinished = true ; $ this -> isSuccess = true ; $ this -> result = $ result ; }
docstring: Marks the flow as successful and sets the result.
  
  @param mixed|null $result
docstring_tokens: Marks the flow as successful and sets the result .