Fix indentation of multiline function declarations
[MAILPOET-3732]
This commit is contained in:
@@ -20,7 +20,7 @@ class MailChimp {
|
||||
private $mapper;
|
||||
|
||||
public function __construct(
|
||||
$apiKey
|
||||
$apiKey
|
||||
) {
|
||||
$this->apiKey = $this->getAPIKey($apiKey);
|
||||
$this->maxPostSize = (int)Helpers::getMaxPostSize('bytes');
|
||||
|
@@ -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') ?
|
||||
[
|
||||
[
|
||||
|
@@ -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;
|
||||
|
@@ -15,7 +15,7 @@ abstract class NewsletterStatsBaseExporter {
|
||||
protected $subscriberRepository;
|
||||
|
||||
public function __construct(
|
||||
SubscribersRepository $subscribersRepository
|
||||
SubscribersRepository $subscribersRepository
|
||||
) {
|
||||
$this->subscriberRepository = $subscribersRepository;
|
||||
}
|
||||
|
@@ -16,7 +16,7 @@ class NewslettersExporter {
|
||||
private $newsletterUrl;
|
||||
|
||||
public function __construct(
|
||||
NewsletterUrl $newsletterUrl
|
||||
NewsletterUrl $newsletterUrl
|
||||
) {
|
||||
$this->newsletterUrl = $newsletterUrl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user