Skip to content

Commit 4a2475c

Browse files
authored
Fix methods signature, ref #1610 (#2838)
1 parent ba4bc23 commit 4a2475c

File tree

1 file changed

+7
-5
lines changed
  • app/code/core/Mage/Adminhtml/Helper

1 file changed

+7
-5
lines changed

app/code/core/Mage/Adminhtml/Helper/Data.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,28 @@ class Mage_Adminhtml_Helper_Data extends Mage_Adminhtml_Helper_Help_Mapping
4242
/**
4343
* Get mapped help pages url
4444
*
45-
* @deprecated
4645
* @param null|string $url
46+
* @param null|string $suffix
4747
* @return mixed
48+
* @deprecated
4849
*/
49-
public function getPageHelpUrl($url = null)
50+
public function getPageHelpUrl($url = null, $suffix = null)
5051
{
5152
if (!$this->_pageHelpUrl) {
52-
$this->setPageHelpUrl($url);
53+
$this->setPageHelpUrl($url, $suffix);
5354
}
5455
return $this->_pageHelpUrl;
5556
}
5657

5758
/**
5859
* Set help page url
5960
*
60-
* @deprecated
6161
* @param null|string $url
62+
* @param null|string $suffix
6263
* @return $this
64+
* @deprecated
6365
*/
64-
public function setPageHelpUrl($url = null)
66+
public function setPageHelpUrl($url = null, $suffix = null)
6567
{
6668
$this->_pageHelpUrl = $url;
6769
return $this;

0 commit comments

Comments
 (0)