Skip to content

Commit

Permalink
Remove horizontal scrollbar
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |
  • Loading branch information
ifdattic committed Jan 28, 2015
1 parent dc87147 commit 0c236b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/event_dispatcher/traceable_dispatcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ to register event listeners and dispatch events::
// register an event listener
$eventListener = ...;
$priority = ...;
$traceableEventDispatcher->addListener('event.the_name', $eventListener, $priority);
$traceableEventDispatcher->addListener(
'event.the_name',
$eventListener,
$priority
);

// dispatch an event
$event = ...;
Expand Down

0 comments on commit 0c236b4

Please sign in to comment.