File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
app/code/Magento/Catalog/Model/Product/Website Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ public function __construct(
26
26
27
27
/**
28
28
* @param ProductInterface $product
29
- * @param array $additionalData
29
+ * @param array $arguments
30
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
30
31
* @return ProductInterface
31
32
*/
32
- public function execute ($ product , $ additionalData = [])
33
+ public function execute ($ product , $ arguments = [])
33
34
{
34
35
if ($ product ->getExtensionAttributes ()->getWebsiteIds () !== null ) {
35
36
return $ product ;
Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ public function __construct(
38
38
/**
39
39
* Get website ids from extension attributes and persist them
40
40
* @param ProductInterface $product
41
- * @param array $additionalData
41
+ * @param array $arguments
42
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
42
43
* @return ProductInterface
43
44
*/
44
- public function execute ($ product , $ additionalData = [])
45
+ public function execute ($ product , $ arguments = [])
45
46
{
46
47
if ($ this ->storeManager ->isSingleStoreMode ()) {
47
48
$ defaultWebsiteId = $ this ->storeManager ->getDefaultStoreView ()->getWebsiteId ();
You can’t perform that action at this time.
0 commit comments