Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cybernet committed Apr 21, 2019
1 parent 7a83160 commit 2bb072e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/SwiftmailerTransportFactory.php
Expand Up @@ -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'];
Expand Down

0 comments on commit 2bb072e

Please sign in to comment.