Skip to content

Commit 8fe144e

Browse files
committed
[Workflow] Added missing docblock
1 parent 16cea37 commit 8fe144e

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)