Skip to content

Commit 86e19d5

Browse files
committed
minor symfony#20783 [Workflow] Added missing docblock (Padam87)
This PR was merged into the 3.2 branch. Discussion ---------- [Workflow] Added missing docblock | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 8fe144e [Workflow] Added missing docblock
2 parents 60f7484 + 8fe144e commit 86e19d5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/Symfony/Component/Workflow/DefinitionBuilder.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ public function addPlaces(array $places)
7979
}
8080
}
8181

82+
/**
83+
* @param Transition[] $transitions
84+
*/
8285
public function addTransitions(array $transitions)
8386
{
8487
foreach ($transitions as $transition) {

src/Symfony/Component/Workflow/Registry.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ public function add(Workflow $workflow, $className)
3030
$this->workflows[] = array($workflow, $className);
3131
}
3232

33+
/**
34+
* @param object $subject
35+
* @param string|null $workflowName
36+
*
37+
* @return Workflow
38+
*/
3339
public function get($subject, $workflowName = null)
3440
{
3541
$matched = null;

0 commit comments

Comments
 (0)