Skip to content

Commit 71ef48e

Browse files
committed
Merge branch '5.2' into 5.3
* 5.2: Remove duplicated array entry qa: add missing type-hints to workflow `Transition` Declare returned type.
2 parents 82c9115 + be54aec commit 71ef48e

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)