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

@@ -18,7 +18,10 @@ class BlockRendererHelper {
/** @var WPFunctions */
protected $wp;
public function __construct(FieldNameObfuscator $fieldNameObfuscator, WPFunctions $wp) {
public function __construct(
FieldNameObfuscator $fieldNameObfuscator,
WPFunctions $wp
) {
$this->fieldNameObfuscator = $fieldNameObfuscator;
$this->wp = $wp;
}

View File

@@ -16,7 +16,11 @@ class Checkbox {
/** @var WPFunctions */
private $wp;
public function __construct(BlockRendererHelper $rendererHelper, BlockWrapperRenderer $wrapper, WPFunctions $wp) {
public function __construct(
BlockRendererHelper $rendererHelper,
BlockWrapperRenderer $wrapper,
WPFunctions $wp
) {
$this->rendererHelper = $rendererHelper;
$this->wrapper = $wrapper;
$this->wp = $wp;

View File

@@ -8,7 +8,9 @@ class Column {
/** @var WPFunctions */
private $wp;
public function __construct(WPFunctions $wp) {
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}

View File

@@ -8,7 +8,9 @@ class Columns {
/** @var WPFunctions */
private $wp;
public function __construct(WPFunctions $wp) {
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}

View File

@@ -8,7 +8,9 @@ class Divider {
/** @var WPFunctions */
private $wp;
public function __construct(WPFunctions $wp) {
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}

View File

@@ -8,7 +8,9 @@ class Heading {
/** @var WPFunctions */
private $wp;
public function __construct(WPFunctions $wp) {
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}

View File

@@ -6,7 +6,9 @@ class Html {
/** @var BlockRendererHelper */
private $rendererHelper;
public function __construct(BlockRendererHelper $rendererHelper) {
public function __construct(
BlockRendererHelper $rendererHelper
) {
$this->rendererHelper = $rendererHelper;
}

View File

@@ -8,7 +8,9 @@ class Image {
/** @var WPFunctions */
private $wp;
public function __construct(WPFunctions $wp) {
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}

View File

@@ -8,7 +8,9 @@ class Paragraph {
/** @var WPFunctions */
private $wp;
public function __construct(WPFunctions $wp) {
public function __construct(
WPFunctions $wp
) {
$this->wp = $wp;
}

View File

@@ -16,7 +16,11 @@ class Radio {
/** @var BlockWrapperRenderer */
private $wrapper;
public function __construct(BlockRendererHelper $rendererHelper, BlockWrapperRenderer $wrapper, WPFunctions $wp) {
public function __construct(
BlockRendererHelper $rendererHelper,
BlockWrapperRenderer $wrapper,
WPFunctions $wp
) {
$this->rendererHelper = $rendererHelper;
$this->wrapper = $wrapper;
$this->wp = $wp;