Permalink
Browse files

minor #4316 Remove horizontal scrollbar (ifdattic)

This PR was merged into the 2.4 branch.

Discussion
----------

Remove horizontal scrollbar

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4
| Fixed tickets |

Commits
-------

53638a6 Remove horizontal scrollbar
  • Loading branch information...
wouterj committed Oct 12, 2014
2 parents a535c9f + 53638a6 commit 228111be589210136bac35dd70f1920f68996f54
Showing with 10 additions and 4 deletions.
  1. +10 −4 components/event_dispatcher/introduction.rst
@@ -509,8 +509,11 @@ Lazy loading listeners::
{
private $started = false;
public function myLazyListener(Event $event, $eventName, EventDispatcherInterface $dispatcher)
{
public function myLazyListener(
Event $event,
$eventName,
EventDispatcherInterface $dispatcher
) {
if (false === $this->started) {
$subscriber = new StoreSubscriber();
$dispatcher->addSubscriber($subscriber);
@@ -529,8 +532,11 @@ Dispatching another event from within a listener::
class Foo
{
public function myFooListener(Event $event, $eventName, EventDispatcherInterface $dispatcher)
{
public function myFooListener(
Event $event,
$eventName,
EventDispatcherInterface $dispatcher
) {
$dispatcher->dispatch('log', $event);
// ... more code

0 comments on commit 228111b

Please sign in to comment.