Fix indentation of multiline function declarations

[MAILPOET-3732]
This commit is contained in:
Pavel Dohnal
2021-09-17 10:29:00 +02:00
committed by Jan Lysý
parent cdda3480ca
commit 21839fc30b
200 changed files with 707 additions and 349 deletions

View File

@@ -20,7 +20,7 @@ class MailChimp {
private $mapper;
public function __construct(
$apiKey
$apiKey
) {
$this->apiKey = $this->getAPIKey($apiKey);
$this->maxPostSize = (int)Helpers::getMaxPostSize('bytes');

View File

@@ -19,7 +19,7 @@ class ImportExportFactory {
private $segmentsListRepository;
public function __construct(
$action = null
$action = null
) {
$this->action = $action;
$this->segmentsListRepository = ContainerWrapper::getInstance()->get(SegmentsSimpleListRepository::class);
@@ -96,7 +96,8 @@ class ImportExportFactory {
public function formatFieldsForSelect2(
$subscriberFields,
$subscriberCustomFields) {
$subscriberCustomFields
) {
$actions = ($this->action === 'import') ?
[
[

View File

@@ -50,8 +50,8 @@ class ImportExportRepository {
private $filterHandler;
public function __construct(
EntityManager $entityManager,
FilterHandler $filterHandler
EntityManager $entityManager,
FilterHandler $filterHandler
) {
$this->entityManager = $entityManager;
$this->filterHandler = $filterHandler;

View File

@@ -15,7 +15,7 @@ abstract class NewsletterStatsBaseExporter {
protected $subscriberRepository;
public function __construct(
SubscribersRepository $subscribersRepository
SubscribersRepository $subscribersRepository
) {
$this->subscriberRepository = $subscribersRepository;
}

View File

@@ -16,7 +16,7 @@ class NewslettersExporter {
private $newsletterUrl;
public function __construct(
NewsletterUrl $newsletterUrl
NewsletterUrl $newsletterUrl
) {
$this->newsletterUrl = $newsletterUrl;
}