Fix CS
This commit is contained in:
parent
b92c374b87
commit
1e560e0afd
|
|
@ -191,7 +191,7 @@ class DSNConfigurator
|
|||
case 'Priority':
|
||||
case 'SMTPDebug':
|
||||
case 'WordWrap':
|
||||
$mailer->$key = (integer) $value;
|
||||
$mailer->$key = (int) $value;
|
||||
break;
|
||||
default:
|
||||
$mailer->$key = $value;
|
||||
|
|
|
|||
|
|
@ -187,7 +187,10 @@ final class DSNConfiguratorTest extends TestCase
|
|||
{
|
||||
$configurator = new DSNConfigurator();
|
||||
|
||||
$configurator->configure($this->Mail, 'sendmail://localhost?Sendmail=/usr/local/bin/sendmail&AllowEmpty=1&WordWrap=78');
|
||||
$configurator->configure(
|
||||
$this->Mail,
|
||||
'sendmail://localhost?Sendmail=/usr/local/bin/sendmail&AllowEmpty=1&WordWrap=78'
|
||||
);
|
||||
|
||||
self::assertEquals($this->Mail->Mailer, 'sendmail');
|
||||
self::assertEquals($this->Mail->Sendmail, '/usr/local/bin/sendmail');
|
||||
|
|
|
|||
Loading…
Reference in New Issue