minor #28982 Fix typo in Messenger examples (gitomato)

This PR was merged into the 4.2-dev branch.

Discussion
----------

Fix typo in Messenger examples

| Q             | A
| ------------- | ---
| Branch?       | master for features / 2.8 up to 4.1 for bug fixes <!-- see below -->
| Bug fix?      | no
| New feature?  | yes/no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | yes/no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Fixed a typo in UPGRADE-4.2.md.

Commits
-------

7da59432cd Fix typo in Messenger examples
This commit is contained in:
Fabien Potencier 2018-10-25 15:16:58 +02:00
commit 39d081ec96

View File

@ -175,7 +175,7 @@ Messenger
After: After:
```php ```php
yield FirstMessage::class => ['priority' => 0]; yield FirstMessage::class => ['priority' => 0];
yield SecondMessage::class => ['priority => -10]; yield SecondMessage::class => ['priority' => -10];
``` ```
Before: Before: