mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing constructors for reporter classes.
This commit is contained in:
parent
adf604a966
commit
dc08aedb44
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue