diff --git a/src/Symfony/Component/Notifier/Bridge/KazInfoTeh/KazInfoTehTransport.php b/src/Symfony/Component/Notifier/Bridge/KazInfoTeh/KazInfoTehTransport.php index c35cf4509a68f..0a89f13771bfd 100644 --- a/src/Symfony/Component/Notifier/Bridge/KazInfoTeh/KazInfoTehTransport.php +++ b/src/Symfony/Component/Notifier/Bridge/KazInfoTeh/KazInfoTehTransport.php @@ -80,7 +80,7 @@ protected function doSend(MessageInterface $message): SentMessage } try { - $content = new \SimpleXMLElement($response->getContent(false)); + $content = @new \SimpleXMLElement($response->getContent(false)); } catch (\Exception $e) { throw new TransportException('Unable to send the SMS: "Couldn\'t read response".', $response, previous: $e); }