Skip to content

Commit c876fb9

Browse files
committed
[Mailer] Fix typo
1 parent bec0996 commit c876fb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Exception/UnsupportedHostException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(Dsn $dsn)
5454
}
5555
$package = self::HOST_TO_PACKAGE_MAP[$provider] ?? null;
5656
if ($package && !class_exists($package['class'])) {
57-
parent::__construct(sprintf('Unable to send emails via "%s" as the bridge is not installed. Try running "composer require %s".', $host, $package['package']));
57+
parent::__construct(sprintf('Unable to send emails via "%s" as the bridge is not installed. Try running "composer require %s".', $provider, $package['package']));
5858

5959
return;
6060
}

UnsupportedHostException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(Dsn $dsn)
5454
}
5555
$package = self::HOST_TO_PACKAGE_MAP[$provider] ?? null;
5656
if ($package && !class_exists($package['class'])) {
57-
parent::__construct(sprintf('Unable to send emails via "%s" as the bridge is not installed. Try running "composer require %s".', $host, $package['package']));
57+
parent::__construct(sprintf('Unable to send emails via "%s" as the bridge is not installed. Try running "composer require %s".', $provider, $package['package']));
5858

5959
return;
6060
}

0 commit comments

Comments
 (0)