Skip to content

Commit be54aec

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: qa: add missing type-hints to workflow `Transition` Declare returned type.
2 parents 51152e2 + add9423 commit be54aec

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)