0
0
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:
Oleg Voronkovich 2023-03-03 18:34:19 +03:00
parent 7ba61cf0f0
commit 25269b6431
2 changed files with 2 additions and 2 deletions

View File

@ -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)
);
}

View File

@ -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');
}