File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Action/Input Expand file tree Collapse file tree 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
3030
3131 public function toArray (): array
3232 {
33- $ this ->options ['@type ' ] = 'DateInput ' ;
34-
35- return parent ::toArray () + $ this ->options ;
33+ return parent ::toArray () + $ this ->options + ['@type ' => 'DateInput ' ];
3634 }
3735}
Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ public function style(string $style): self
5555
5656 public function toArray (): ar
ADCE
ray
5757 {
58- $ this ->options ['@type ' ] = 'MultichoiceInput ' ;
59-
60- return parent ::toArray () + $ this ->options ;
58+ return parent ::toArray () + $ this ->options + ['@type ' => 'MultichoiceInput ' ];
6159 }
6260}
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ public function maxLength(int $maxLength): self
3737
3838 public function toArray (): array
3939 {
40- $ this ->options ['@type ' ] = 'TextInput ' ;
41-
42- return parent ::toArray () + $ this ->options ;
40+ return parent ::toArray () + $ this ->options + ['@type ' => 'TextInput ' ];
4341 }
4442}
You can’t perform that action at this time.
0 commit comments