diff --git a/app/bundles/EmailBundle/Helper/MailHelper.php b/app/bundles/EmailBundle/Helper/MailHelper.php index 87ae9e330ae..d9129f75323 100644 --- a/app/bundles/EmailBundle/Helper/MailHelper.php +++ b/app/bundles/EmailBundle/Helper/MailHelper.php @@ -267,11 +267,9 @@ public function __construct(MauticFactory $factory, \Swift_Mailer $mailer, $from $this->returnPath = $factory->getParameter('mailer_return_path'); // Check if batching is supported by the transport - if ('memory' == $this->factory->getParameter('mailer_spool_type') - && ( - $this->transport instanceof TokenTransportInterface - || ($this->transport instanceof SpoolTransport && $this->transport->supportsTokenization()) - ) + if ( + ('memory' == $this->factory->getParameter('mailer_spool_type') && $this->transport instanceof TokenTransportInterface) + || ($this->transport instanceof SpoolTransport && $this->transport->supportsTokenization()) ) { $this->tokenizationEnabled = true; }