Skip to content

Commit 672874f

Browse files
committed
bug #57395 [Notifier]  send the recipient phone number as an array (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Notifier]  send the recipient phone number as an array | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #57393 | License | MIT Commits ------- 86480fe send the recipient phone number as an array
2 parents 7b53770 + 86480fe commit 672874f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Notifier/Bridge/Clickatell/ClickatellTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected function doSend(MessageInterface $message): SentMessage
6363

6464
$options = [];
6565
$options['from'] = $message->getFrom() ?: $this->from;
66-
$options['to'] = $message->getPhone();
66+
$options['to'] = [$message->getPhone()];
6767
$options['text'] = $message->getSubject();
6868

6969
$response = $this->client->request('POST', $endpoint, [

0 commit comments

Comments
 (0)