Skip to content

Commit e33faae

Browse files
committed
Fix: Use +
1 parent 8a53301 commit e33faae

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Action/Input/DateInput.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
}

src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Action/Input/MultiChoiceInput.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ public function style(string $style): self
5555

5656
public function toArray(): array
5757
{
58-
$this->options['@type'] = 'MultichoiceInput';
59-
60-
return parent::toArray() + $this->options;
58+
return parent::toArray() + $this->options + ['@type' => 'MultichoiceInput'];
6159
}
6260
}

src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Action/Input/TextInput.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy