Skip to content

Commit 3c8bbc1

Browse files
committed
MAGETWO-70651: Saving category create not valid url-rewrites
1 parent f2c494f commit 3c8bbc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogUrlRewrite/Model/CategoryBasedProductRewriteGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function __construct(
3737
* @param \Magento\Catalog\Model\Category $category
3838
* @param int|null $rootCategoryId
3939
* @return \Magento\UrlRewrite\Service\V1\Data\UrlRewrite[]
40+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4041
*/
4142
public function generate(Product $product, Category $category, $rootCategoryId = null)
4243
{

0 commit comments

Comments
 (0)