File tree 3 files changed +3
-9
lines changed
src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Action/Input
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ public function includeTime(bool $includeTime): self
30
30
31
31
public function toArray (): array
32
32
{
33
- $ this ->options ['@type ' ] = 'DateInput ' ;
34
-
35
- return parent ::toArray () + $ this ->options ;
33
+ return parent ::toArray () + $ this ->options + ['@type ' => 'DateInput ' ];
36
34
}
37
35
}
Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ public function style(string $style): self
55
55
56
56
public function toArray (): array
57
57
{
58
- $ this ->options ['@type ' ] = 'MultichoiceInput ' ;
59
-
60
- return parent ::toArray () + $ this ->options ;
58
+ return parent ::toArray () + $ this ->options + ['@type ' => 'MultichoiceInput ' ];
61
59
}
62
60
}
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ public function maxLength(int $maxLength): self
37
37
38
38
public function toArray (): array
39
39
{
40
- $ this ->options ['@type ' ] = 'TextInput ' ;
41
-
42
- return parent ::toArray () + $ this ->options ;
40
+ return parent ::toArray () + $ this ->options + ['@type ' => 'TextInput ' ];
43
41
}
44
42
}
You can’t perform that action at this time.
0 commit comments