File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Symfony/Component/Notifier/Bridge/LightSms Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2626 */
2727final class LightSmsTransport extends AbstractTransport
2828{
29- protected const HOST = 'www. lightsms.com ' ;
29+ protected const HOST = 'lightsms.com ' ;
3030
3131 private $ login ;
3232 private $ password ;
3333 private $ from ;
3434
3535 private const ERROR_CODES = [
36- 000 => 'Service unavailable ' ,
3736 1 => 'Missing Signature ' ,
3837 2 => 'Login not specified ' ,
3938 3 => 'Text not specified ' ,
@@ -119,6 +118,8 @@ protected function doSend(MessageInterface $message): SentMessage
119118
120119 $ content = $ response ->toArray (false );
121120
121+ dump ($ content ); die ();
122+
122123 // it happens if the host without www
123124 if (isset ($ content ['' ]) && isset ($ content ['' ]['error ' ])) {
124125 throw new TransportException ('Unable to send the SMS: ' .self ::ERROR_CODES [$ content ['' ]['error ' ]], $ response );
You can’t perform that action at this time.
0 commit comments