__toString() throws a fatal error if it takes arguments in PHP 5.3

Signed-off-by: Michael Tänzer <neo@nhng.de>
bug-1390
Michael Tänzer 12 years ago
parent 1a265738f5
commit d8de88890f

@ -78,7 +78,7 @@ class Zend_View_Helper_LeftNav extends Zend_View_Helper_Placeholder_Container_St
* @param string|null $locale
* @return string
*/
public function __toString($indent = null, $locale = null)
public function toString($indent = null, $locale = null)
{
$output = '';
$indent = (null !== $indent)

@ -78,7 +78,7 @@ class Zend_View_Helper_TopNav extends Zend_View_Helper_Placeholder_Container_Sta
* @param string|null $locale
* @return string
*/
public function __toString($indent = null, $locale = null)
public function toString($indent = null, $locale = null)
{
$output = '';
$indent = (null !== $indent)

Loading…
Cancel
Save