Skip to content

Commit 31dd002

Browse files
committed
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 ------- 89470f1 [Workflow] Update phpdoc to fit a used className
2 parents 8c1e299 + 89470f1 commit 31dd002

File tree

1 file changed

+4
-4
lines changed
  • src/Symfony/Component/Workflow/Event

1 file changed

+4
-4
lines changed

src/Symfony/Component/Workflow/Event/Event.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class Event extends BaseEvent
3030
private $workflowName;
3131

3232
/**
33-
* @param object $subject
34-
* @param Marking $marking
35-
* @param Transition $transition
36-
* @param Workflow $workflow
33+
* @param object $subject
34+
* @param Marking $marking
35+
* @param Transition $transition
36+
* @param WorkflowInterface $workflow
3737
*/
3838
public function __construct($subject, Marking $marking, Transition $transition, $workflow = null)
3939
{

0 commit comments

Comments
 (0)