qa: add missing type-hints to workflow `Transition`
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
This commit is contained in:
parent
3b21091cce
commit
660037858f
|
@ -32,16 +32,25 @@ class Transition
|
|||
$this->tos = (array) $tos;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getFroms()
|
||||
{
|
||||
return $this->froms;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTos()
|
||||
{
|
||||
return $this->tos;
|
||||
|
|
Reference in New Issue