Skip to content

Commit

Permalink
Fixing constructors for reporter classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 2, 2010
1 parent adf604a commit dc08aed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/tests/lib/reporter/cake_html_reporter.php
Expand Up @@ -34,9 +34,9 @@ class CakeHtmlReporter extends CakeBaseReporter {
* @param string $params
* @return void
*/
function CakeHtmlReporter($charset = 'utf-8', $params = array()) {
function __construct($charset = 'utf-8', $params = array()) {
$params = array_map(array($this, '_htmlEntities'), $params);
$this->CakeBaseReporter($charset, $params);
parent::__construct($charset, $params);
}
/**
* Paints the top of the web page setting the
Expand Down

0 comments on commit dc08aed

Please sign in to comment.