minor #29594 EventSubscriberInterface isn't a man (dawehner)

This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead (closes #29594).

Discussion
----------

EventSubscriberInterface isn't a man

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  |no
| BC breaks?    | no
| Tests pass?   | yes
| License       | MIT

The documentation talks about a man, an event subscriber clearly isn't one

Commits
-------

f58338e251 EventSubscriberInterface isn't a man
This commit is contained in:
Nicolas Grekas 2018-12-13 17:46:17 +01:00
commit 718d01932f

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\EventDispatcher;
/**
* An EventSubscriber knows himself what events he is interested in.
* An EventSubscriber knows itself what events it is interested in.
* If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes
* {@link getSubscribedEvents} and registers the subscriber as a listener for all
* returned events.