Skip to content

Commit fd59193

Browse files
Siarhei AndreyeuSiarhei Andreyeu
authored andcommitted
MAGNIMEX-14: Downloading Sample File
- change DocBlock
1 parent 5f32533 commit fd59193

File tree

1 file changed

+7
-2
lines changed
  • app/code/Magento/ImportExport/Controller/Adminhtml/Import

1 file changed

+7
-2
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Import/Download.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Magento\ImportExport\Controller\Adminhtml\Import as ImportController;
99
use Magento\Framework\App\Filesystem\DirectoryList;
1010

11+
/**
12+
* Download sample file controller
13+
*/
1114
class Download extends ImportController
1215
{
1316
const SAMPLE_FILES_DIRECTORY = 'Magento/ImportExport/Files/Sample/';
@@ -17,7 +20,9 @@ class Download extends ImportController
1720
*/
1821
protected $resultRawFactory;
1922

20-
/** @var \Magento\Framework\Filesystem\Directory\WriteInterface */
23+
/**
24+
* @var \Magento\Framework\Filesystem\Directory\WriteInterface
25+
*/
2126
protected $fileDirectory;
2227

2328
/**
@@ -43,7 +48,7 @@ public function __construct(
4348
/**
4449
* Download sample file action
4550
*
46-
* @return void|\Magento\Backend\App\Action
51+
* @return \Magento\Framework\Controller\Result\Raw
4752
*/
4853
public function execute()
4954
{

0 commit comments

Comments
 (0)