File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/code/Magento/Downloadable Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ interface SampleRepositoryInterface
12
12
/**
13
13
* Update downloadable sample of the given product
14
14
*
15
- * @param string $productSku
15
+ * @param string $sku
16
16
* @param \Magento\Downloadable\Api\Data\SampleInterface $sample
17
17
* @param bool $isGlobalScopeContent
18
18
* @return int
19
19
*/
20
20
public function save (
21
- $ productSku ,
21
+ $ sku ,
22
22
SampleInterface $ sample ,
23
23
$ isGlobalScopeContent = false
24
24
);
Original file line number Diff line number Diff line change @@ -73,18 +73,18 @@ public function __construct(
73
73
/**
74
74
* Update downloadable sample of the given product
75
75
*
76
- * @param string $productSku
76
+ * @param string $sku
77
77
* @param \Magento\Downloadable\Api\Data\SampleInterface $sample
78
78
* @param bool $isGlobalScopeContent
79
79
* @return int
80
80
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
81
81
*/
82
82
public function save (
83
- $ productSku ,
83
+ $ sku ,
84
84
SampleInterface $ sample ,
85
85
$ isGlobalScopeContent = false
86
86
) {
87
- $ product = $ this ->productRepository ->get ($ productSku , true );
87
+ $ product = $ this ->productRepository ->get ($ sku , true );
88
88
89
89
$ sampleId = $ sample ->getId ();
90
90
if ($ sampleId ) {
You can’t perform that action at this time.
0 commit comments