intend
This commit is contained in:
@ -14,7 +14,6 @@ use MailPoet\Newsletter\Statistics\WooCommerceRevenue;
|
||||
use MailPoet\WooCommerce\Helper;
|
||||
|
||||
class OverviewStatisticsController {
|
||||
|
||||
/** @var NewslettersRepository */
|
||||
private $newslettersRepository;
|
||||
|
||||
@ -108,12 +107,11 @@ class OverviewStatisticsController {
|
||||
);
|
||||
|
||||
return $data;
|
||||
|
||||
}
|
||||
|
||||
private function getEmailsFromAutomation(Automation $automation): array {
|
||||
return array_filter(array_map(
|
||||
function(Step $step) {
|
||||
function (Step $step) {
|
||||
$emailId = $step->getArgs()['email_id'] ?? null;
|
||||
if (!$emailId) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user