Skip to content

Commit add9423

Browse files
boesingderrabus
authored andcommitted
qa: add missing type-hints to workflow Transition
Signed-off-by: Maximilian Bösing <[email protected]>
1 parent a37e3c1 commit add9423

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Transition.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,25 @@ public function __construct(string $name, $froms, $tos)
3232
$this->tos = (array) $tos;
3333
}
3434

35+
/**
36+
* @return string
37+
*/
3538
public function getName()
3639
{
3740
return $this->name;
3841
}
3942

43+
/**
44+
* @return string[]
45+
*/
4046
public function getFroms()
4147
{
4248
return $this->froms;
4349
}
4450

51+
/**
52+
* @return string[]
53+
*/
4554
public function getTos()
4655
{
4756
return $this->tos;

0 commit comments

Comments
 (0)