original_string: public function fireEvent($eventName, Event $event = null)
      {
          /** @var EventDispatcher $events */
          $events = $this['events'];
  
          return $events->dispatch($eventName, $event);
      }
code: public function fireEvent($eventName, Event $event = null)
      {
          /** @var EventDispatcher $events */
          $events = $this['events'];
  
          return $events->dispatch($eventName, $event);
      }
code_tokens: public function fireEvent ( $ eventName , Event $ event = null ) { /** @var EventDispatcher $events */ $ events = $ this [ 'events' ] ; return $ events -> dispatch ( $ eventName , $ event ) ; }
docstring: Fires an event with optional parameters.
  
  @param  string $eventName
  @param  Event  $event
  
  @return Event
docstring_tokens: Fires an event with optional parameters .