Skip to content

Commit 98b745f

Browse files
author
Graham Wharton
committed
Resolved test failures
1 parent 7905462 commit 98b745f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

app/code/Magento/CatalogUrlRewrite/Plugin/ProductProcessUrlRewriteRemovingPlugin.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ProductProcessUrlRewriteRemovingPlugin
2828
/**
2929
* @var ProductRepositoryInterface $productRepository
3030
*/
31-
protected $productRepository;
31+
private $productRepository;
3232

3333
/**
3434
* @var StoreWebsiteRelationInterface $storeWebsiteRelation
@@ -38,12 +38,12 @@ class ProductProcessUrlRewriteRemovingPlugin
3838
/**
3939
* @var UrlPersistInterface $urlPersist
4040
*/
41-
protected $urlPersist;
41+
private $urlPersist;
4242

4343
/**
4444
* @var ProductUrlRewriteGenerator $productUrlRewriteGenerator
4545
*/
46-
protected $productUrlRewriteGenerator;
46+
private $productUrlRewriteGenerator;
4747

4848
/**
4949
* @var DbStorage $dbStorage
@@ -72,13 +72,16 @@ public function __construct(
7272
}
7373

7474
/**
75+
* Function afterUpdateWebsites
76+
*
7577
* @param Action $subject
76-
* @param null $result
78+
* @param $result
7779
* @param array $productIds
7880
* @param array $websiteIds
7981
* @param string $type
8082
* @return void
8183
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
84+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
8285
*/
8386
public function afterUpdateWebsites(
8487
Action $subject,

0 commit comments

Comments
 (0)