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

Commit

Permalink
minor #281 Typo fix (cybernet)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.2-dev branch.

Discussion
----------

Typo fix

Commits
-------

2bb072e Typo fix
  • Loading branch information
fabpot committed Apr 21, 2019
2 parents 7a83160 + 2bb072e commit 4c46b6d
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 4c46b6d

Please sign in to comment.