From 2bb072e701a2b374cfeae5698437088c1f56413a Mon Sep 17 00:00:00 2001 From: cybernet Date: Sun, 21 Apr 2019 09:45:34 +0100 Subject: [PATCH] Typo fix --- DependencyInjection/SwiftmailerTransportFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/SwiftmailerTransportFactory.php b/DependencyInjection/SwiftmailerTransportFactory.php index dc73b68e..5ba30d08 100644 --- a/DependencyInjection/SwiftmailerTransportFactory.php +++ b/DependencyInjection/SwiftmailerTransportFactory.php @@ -100,7 +100,7 @@ public static function resolveOptions(array $options) if (isset($options['url'])) { if (false === $parts = parse_url($options['url'])) { - throw new \InvalidArgumentException(sprintf('The Swiftmailer URL "%s" is not a valid.', $options['url'])); + throw new \InvalidArgumentException(sprintf('The Swiftmailer URL "%s" is not valid.', $options['url'])); } if (isset($parts['scheme'])) { $options['transport'] = $parts['scheme'];