Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6600378

Browse filesBrowse files
boesingderrabus
authored andcommitted
qa: add missing type-hints to workflow Transition
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
1 parent 3b21091 commit 6600378
Copy full SHA for 6600378

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed

‎src/Symfony/Component/Workflow/Transition.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Workflow/Transition.php
+9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.