diff --git a/EsendexTransport.php b/EsendexTransport.php index 9671aa2..f59e640 100644 --- a/EsendexTransport.php +++ b/EsendexTransport.php @@ -105,10 +105,10 @@ protected function doSend(MessageInterface $message): SentMessage $message .= sprintf(' Details from Esendex: %s: "%s".', $error['code'], $error['description']); } - } catch (HttpClientTransportException $e) { + } catch (HttpClientTransportException) { // Catching this exception is useful to keep compatibility, with symfony/http-client < 4.4.10 // See https://github.com/symfony/symfony/pull/37065 - } catch (JsonException $e) { + } catch (JsonException) { } throw new TransportException($message, $response);