minor #27803 [Workflow] Update phpdoc to fit a used className (antograssiot)
This PR was merged into the 4.1 branch.
Discussion
----------
[Workflow] Update phpdoc to fit a used className
| Q | A
| ------------- | ---
| Branch? | 4.1
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR | none
It will just help IDE and static analysis tools to work correctly.
I could also add a `use Symfony\Component\Workflow\Workflow;` if you prefer
Commits
-------
89470f19cc
[Workflow] Update phpdoc to fit a used className
This commit is contained in:
commit
31dd002cde
@ -30,10 +30,10 @@ class Event extends BaseEvent
|
|||||||
private $workflowName;
|
private $workflowName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param object $subject
|
* @param object $subject
|
||||||
* @param Marking $marking
|
* @param Marking $marking
|
||||||
* @param Transition $transition
|
* @param Transition $transition
|
||||||
* @param Workflow $workflow
|
* @param WorkflowInterface $workflow
|
||||||
*/
|
*/
|
||||||
public function __construct($subject, Marking $marking, Transition $transition, $workflow = null)
|
public function __construct($subject, Marking $marking, Transition $transition, $workflow = null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user