Make all constructor signatures multiline
[MAILPOET-3732]
This commit is contained in:
@@ -19,7 +19,9 @@ class MailChimp {
|
||||
/** @var MailChimpDataMapper */
|
||||
private $mapper;
|
||||
|
||||
public function __construct($apiKey) {
|
||||
public function __construct(
|
||||
$apiKey
|
||||
) {
|
||||
$this->apiKey = $this->getAPIKey($apiKey);
|
||||
$this->maxPostSize = (int)Helpers::getMaxPostSize('bytes');
|
||||
$this->dataCenter = $this->getDataCenter($this->apiKey);
|
||||
|
@@ -18,7 +18,9 @@ class ImportExportFactory {
|
||||
/** @var SegmentsSimpleListRepository */
|
||||
private $segmentsListRepository;
|
||||
|
||||
public function __construct($action = null) {
|
||||
public function __construct(
|
||||
$action = null
|
||||
) {
|
||||
$this->action = $action;
|
||||
$this->segmentsListRepository = ContainerWrapper::getInstance()->get(SegmentsSimpleListRepository::class);
|
||||
}
|
||||
|
@@ -49,7 +49,10 @@ class ImportExportRepository {
|
||||
/** @var FilterHandler */
|
||||
private $filterHandler;
|
||||
|
||||
public function __construct(EntityManager $entityManager, FilterHandler $filterHandler) {
|
||||
public function __construct(
|
||||
EntityManager $entityManager,
|
||||
FilterHandler $filterHandler
|
||||
) {
|
||||
$this->entityManager = $entityManager;
|
||||
$this->filterHandler = $filterHandler;
|
||||
}
|
||||
|
@@ -14,7 +14,9 @@ abstract class NewsletterStatsBaseExporter {
|
||||
|
||||
protected $subscriberRepository;
|
||||
|
||||
public function __construct(SubscribersRepository $subscribersRepository) {
|
||||
public function __construct(
|
||||
SubscribersRepository $subscribersRepository
|
||||
) {
|
||||
$this->subscriberRepository = $subscribersRepository;
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,9 @@ class NewslettersExporter {
|
||||
/** @var NewsletterUrl */
|
||||
private $newsletterUrl;
|
||||
|
||||
public function __construct(NewsletterUrl $newsletterUrl) {
|
||||
public function __construct(
|
||||
NewsletterUrl $newsletterUrl
|
||||
) {
|
||||
$this->newsletterUrl = $newsletterUrl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user