original_string: public function triggerEvent($event, Payload $payload): string
      {
          return $this->state($payload->state())->triggerEvent($event, $payload);
      }
code: public function triggerEvent($event, Payload $payload): string
      {
          return $this->state($payload->state())->triggerEvent($event, $payload);
      }
code_tokens: public function triggerEvent ( $ event , Payload $ payload ) : string { return $ this -> state ( $ payload -> state ( ) ) -> triggerEvent ( $ event , $ payload ) ; }
docstring: Trigger event for payload
  Return next state name
  
  @param string  $event
  @param Payload $payload
  
  @return string
docstring_tokens: Trigger event for payload Return next state name