From 660037858f784b04656c8ab1d4b13d3b5543286d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Tue, 13 Jul 2021 19:14:44 +0200 Subject: [PATCH] qa: add missing type-hints to workflow `Transition` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- src/Symfony/Component/Workflow/Transition.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Symfony/Component/Workflow/Transition.php b/src/Symfony/Component/Workflow/Transition.php index f5a19b1049..b1dbcbe061 100644 --- a/src/Symfony/Component/Workflow/Transition.php +++ b/src/Symfony/Component/Workflow/Transition.php @@ -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;