Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8533f3d

Browse files
Merge branch '6.4' into 7.0
* 6.4: 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 Provide more precise phpdoc for FileLocatorInterface::locate [DependencyInjection] #[Autowire] attribute should have precedence over bindings
2 parents 15d88e9 + b54afbf commit 8533f3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SmsapiTransport.php

+4-1
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)