Make all constructor signatures multiline
[MAILPOET-3732]
This commit is contained in:
@@ -16,7 +16,9 @@ class DeprecatedShortcodeNotice {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
public function __construct(WPFunctions $wp) {
|
||||
public function __construct(
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
||||
|
@@ -12,7 +12,9 @@ class EmailWithInvalidSegmentNotice {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
public function __construct(WPFunctions $wp) {
|
||||
public function __construct(
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
||||
|
@@ -19,7 +19,10 @@ class HeadersAlreadySentNotice {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
public function __construct(SettingsController $settings, WPFunctions $wp) {
|
||||
public function __construct(
|
||||
SettingsController $settings,
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->settings = $settings;
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
@@ -18,7 +18,10 @@ class InactiveSubscribersNotice {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
public function __construct(SettingsController $settings, WPFunctions $wp) {
|
||||
public function __construct(
|
||||
SettingsController $settings,
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->settings = $settings;
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
@@ -38,7 +38,9 @@ class PermanentNotices {
|
||||
/** @var EmailWithInvalidSegmentNotice */
|
||||
private $emailWithInvalidListNotice;
|
||||
|
||||
public function __construct(WPFunctions $wp) {
|
||||
public function __construct(
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->wp = $wp;
|
||||
$this->phpVersionWarnings = new PHPVersionWarnings();
|
||||
$this->afterMigrationNotice = new AfterMigrationNotice();
|
||||
|
@@ -21,7 +21,10 @@ class UnauthorizedEmailInNewslettersNotice {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
public function __construct(SettingsController $settings, WPFunctions $wp) {
|
||||
public function __construct(
|
||||
SettingsController $settings,
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->settings = $settings;
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
@@ -18,7 +18,10 @@ class UnauthorizedEmailNotice {
|
||||
/** @var WPFunctions */
|
||||
private $wp;
|
||||
|
||||
public function __construct(SettingsController $settings, WPFunctions $wp) {
|
||||
public function __construct(
|
||||
SettingsController $settings,
|
||||
WPFunctions $wp
|
||||
) {
|
||||
$this->settings = $settings;
|
||||
$this->wp = $wp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user