Skip to content

Commit 5bbd0f2

Browse files
committed
ACP2E-649: Invalid data is exported when we apply created at filter for customer export
1 parent c71175d commit 5bbd0f2

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

app/code/Magento/ImportExport/Model/Export/Entity/ExportInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,15 @@ public function setExportFilter($exportFilter)
132132
/**
133133
* @inheritdoc
134134
*/
135-
public function getSkipAttr(): ?array
135+
public function getSkipAttr()
136136
{
137137
return $this->skipAttr;
138138
}
139139

140140
/**
141141
* @inheritdoc
142142
*/
143-
public function setSkipAttr(array $skipAttr): void
143+
public function setSkipAttr($skipAttr)
144144
{
145145
$this->skipAttr = $skipAttr;
146146
}

app/code/Magento/ImportExport/Model/Export/Entity/ExportInfoFactory.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,14 @@ public function __construct(
8080
*
8181
* @param string $fileFormat
8282
* @param string $entity
83-
* @param array $exportFilter
83+
* @param string $exportFilter
8484
* @param array $skipAttr
8585
* @param string|null $locale
8686
* @return ExportInfoInterface
8787
* @throws \Magento\Framework\Exception\LocalizedException
8888
*/
89-
public function create(
90-
string $fileFormat,
91-
string $entity,
92-
array $exportFilter,
93-
array $skipAttr = [],
94-
?string $locale = null
95-
) {
89+
public function create($fileFormat, $entity, $exportFilter, $skipAttr = [], ?string $locale = null)
90+
{
9691
$writer = $this->getWriter($fileFormat);
9792
$entityAdapter = $this->getEntityAdapter(
9893
$entity,

0 commit comments

Comments
 (0)