Skip to content

Commit 8f28dc8

Browse files
committed
Constructor of BenevolentUnionType is covered by BC promise
1 parent e64d614 commit 8f28dc8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: src/Type/BenevolentUnionType.php

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
class BenevolentUnionType extends UnionType
1212
{
1313

14+
/**
15+
* @api
16+
* @param Type[] $types
17+
*/
18+
public function __construct(array $types)
19+
{
20+
parent::__construct($types);
21+
}
22+
1423
public function describe(VerbosityLevel $level): string
1524
{
1625
return '(' . parent::describe($level) . ')';

0 commit comments

Comments
 (0)