Skip to content

Commit 167f325

Browse files
Vasilij DuskoVasilij Dusko | CREATION
authored andcommitted
* LightSmsTransport.php - logic error
1 parent be8f994 commit 167f325

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Notifier/Bridge/LightSms/LightSmsTransport.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ public function __toString(): string
100100

101101
public function supports(MessageInterface $message): bool
102102
{
103-
return $message instanceof SmsMessage && $this->phone === str_replace('+', '', $message->getPhone());
103+
return $message instanceof SmsMessage;
104+
104105
}
105106

106107
protected function doSend(MessageInterface $message): SentMessage

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