Make all constructor signatures multiline

[MAILPOET-3732]
This commit is contained in:
Pavel Dohnal
2021-09-16 13:15:19 +02:00
committed by Jan Lysý
parent 150862d986
commit cdda3480ca
200 changed files with 751 additions and 200 deletions

View File

@@ -10,7 +10,9 @@ class SendingErrorHandler {
/** @var SendingThrottlingHandler */
private $throttlingHandler;
public function __construct(SendingThrottlingHandler $throttlingHandler) {
public function __construct(
SendingThrottlingHandler $throttlingHandler
) {
$this->throttlingHandler = $throttlingHandler;
}

View File

@@ -8,7 +8,9 @@ use MailPoet\Mailer\MailerLog;
class Mailer {
public $mailer;
public function __construct($mailer = false) {
public function __construct(
$mailer = false
) {
$this->mailer = ($mailer) ? $mailer : $this->configureMailer();
}