minor #31755 [Contracts] Fixed typos (samnela)

This PR was merged into the 4.3 branch.

Discussion
----------

[Contracts] Fixed typos

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

0bb8ba4ea4 [Contracts] Fixed typos
This commit is contained in:
Robin Chalas 2019-05-31 01:00:21 +02:00
commit 0b6a9f9058

View File

@ -23,7 +23,7 @@ if (interface_exists(PsrEventDispatcherInterface::class)) {
* Dispatches an event to all registered listeners.
*
* For BC with Symfony 4, the $eventName argument is not declared explicitly on the
* signature of the method. Implementations that are not bound by this BC contraint
* signature of the method. Implementations that are not bound by this BC constraint
* MUST declare it explicitly, as allowed by PHP.
*
* @param object $event The event to pass to the event handlers/listeners
@ -44,7 +44,7 @@ if (interface_exists(PsrEventDispatcherInterface::class)) {
* Dispatches an event to all registered listeners.
*
* For BC with Symfony 4, the $eventName argument is not declared explicitly on the
* signature of the method. Implementations that are not bound by this BC contraint
* signature of the method. Implementations that are not bound by this BC constraint
* MUST declare it explicitly, as allowed by PHP.
*
* @param object $event The event to pass to the event handlers/listeners