Skip to content

Commit 3afe76a

Browse files
committed
ACPT-493: Upload csv with request parameter
1 parent 779e383 commit 3afe76a

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

app/code/Magento/ImportExport/Model/Import/Source/Base64EncodedCsvData.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ class Base64EncodedCsvData extends AbstractSource
2121
*/
2222
private $delimiter = ',';
2323

24-
/**
25-
* Field Enclosure character
26-
*
27-
* @var string
28-
*/
29-
private $enclosure = '';
30-
3124
/**
3225
* Read Data and detect column names
3326
*
@@ -48,7 +41,7 @@ public function __construct(string $file)
4841
*
4942
* @return array
5043
*/
51-
protected function _getNextRow()
44+
public function _getNextRow()
5245
{
5346
if ($this->_key===count($this->rows)) {
5447
return [];

app/code/Magento/ImportExport/Model/Source/Upload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Upload
4343
/**
4444
* @var WriteInterface
4545
*/
46-
protected $_varDirectory;
46+
private $varDirectory;
4747

4848
/**
4949
* @param FileTransferFactory $httpFactory

0 commit comments

Comments
 (0)