[Mailer] Fix typo

This commit is contained in:
Fabien Potencier 2019-09-05 03:35:53 +02:00
parent 3e8a726c41
commit b2ca530d82
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class UnsupportedHostException extends LogicException
}
$package = self::HOST_TO_PACKAGE_MAP[$provider] ?? null;
if ($package && !class_exists($package['class'])) {
parent::__construct(sprintf('Unable to send emails via "%s" as the bridge is not installed. Try running "composer require %s".', $host, $package['package']));
parent::__construct(sprintf('Unable to send emails via "%s" as the bridge is not installed. Try running "composer require %s".', $provider, $package['package']));
return;
}