mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 01:52:15 +02:00
Fix typo: Mailformed -> Malformed
This commit is contained in:
parent
7ba61cf0f0
commit
25269b6431
@ -81,7 +81,7 @@ class DSNConfigurator
|
||||
|
||||
if (false === $config || !isset($config['scheme']) || !isset($config['host'])) {
|
||||
throw new Exception(
|
||||
sprintf('Mailformed DSN: "%s".', $dsn)
|
||||
sprintf('Malformed DSN: "%s".', $dsn)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ final class DSNConfiguratorTest extends TestCase
|
||||
$configurator = new DSNConfigurator();
|
||||
|
||||
$this->expectException(Exception::class);
|
||||
$this->expectExceptionMessage('Mailformed DSN: "localhost".');
|
||||
$this->expectExceptionMessage('Malformed DSN: "localhost".');
|
||||
|
||||
$configurator->configure($this->Mail, 'localhost');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user