Skip to content

Commit b54afbf

Browse files
Merge branch '6.3' into 6.4
* 6.3: Fix RequestPayloadValueResolver handling error with no ExpectedTypes [Mime] Fix serializing uninitialized RawMessage::$message to null [Notifer][Smsapi] Set messageId of SentMessage [DX] Use Symfony "dark-mode"-responsive logo in README support lazy evaluated exception messages with Xdebug 3 [DependencyInjection] #[Autowire] attribute should have precedence over bindings
2 parents 14da33d + ffb133a commit b54afbf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SmsapiTransport.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ protected function doSend(MessageInterface $message): SentMessage
120120
throw new TransportException(sprintf('Unable to send the SMS: "%s".', $content['message'] ?? 'unknown error'), $response);
121121
}
122122

123-
return new SentMessage($message, (string) $this);
123+
$sentMessage = new SentMessage($message, (string) $this);
124+
$sentMessage->setMessageId($content['list'][0]['id'] ?? '');
125+
126+
return $sentMessage;
124127
}
125128
}

0 commit comments

Comments
 (0)