minor #31469 [Workflow] Update WorkflowEvents typo (noniagriconomie)

This PR was submitted for the master branch but it was merged into the 4.3 branch instead (closes #31469).

Discussion
----------

[Workflow] Update WorkflowEvents typo

| Q             | A
| ------------- | ---
| Branch?       |  <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please 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 -->

Some little typo
Maybe to do for other branches?

Commits
-------

6583e5a1d7 Update WorkflowEvents.php
This commit is contained in:
Nicolas Grekas 2019-05-11 11:33:13 +02:00
commit 8335810794

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\Workflow;
/**
* To learn more about how workflow events work check the documentation
* To learn more about how workflow events work, check the documentation
* entry at {@link https://symfony.com/doc/current/workflow/usage.html#using-events}.
*/
final class WorkflowEvents
@ -43,7 +43,7 @@ final class WorkflowEvents
const ENTERED = 'workflow.entered';
/**
* @Event("Symfony\Component\Workflow\Event\EnteredEvent")
* @Event("Symfony\Component\Workflow\Event\LeaveEvent")
*/
const LEAVE = 'workflow.leave';