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

@@ -24,7 +24,10 @@ class NewsletterStatisticsRepository extends Repository {
/** @var WCHelper */
private $wcHelper;
public function __construct(EntityManager $entityManager, WCHelper $wcHelper) {
public function __construct(
EntityManager $entityManager,
WCHelper $wcHelper
) {
parent::__construct($entityManager);
$this->wcHelper = $wcHelper;
}

View File

@@ -18,7 +18,12 @@ class WooCommerceRevenue {
/** @var Helper */
private $wooCommerceHelper;
public function __construct($currency, $value, $ordersCount, Helper $wooCommerceHelper) {
public function __construct(
$currency,
$value,
$ordersCount,
Helper $wooCommerceHelper
) {
$this->currency = $currency;
$this->value = $value;
$this->ordersCount = $ordersCount;