Skip to content

Commit f752b9e

Browse files
author
Saurabh Parekh
committed
No need to pass method parameter as method definition does not require it
1 parent 2b7beca commit f752b9e

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/UrlRewrite/Block/Catalog/Product

1 file changed

+1
-1
lines changed

app/code/Magento/UrlRewrite/Block/Catalog/Product/Edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function _prepareLayoutFeatures()
5555
}
5656

5757
if ($this->_getProduct()->getId()) {
58-
$this->_addProductLinkBlock($this->_getProduct());
58+
$this->_addProductLinkBlock();
5959
}
6060

6161
if ($this->_getCategory()->getId()) {

0 commit comments

Comments
 (0)