mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06: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
|
* @param string $params
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function CakeHtmlReporter($charset = 'utf-8', $params = array()) {
|
function __construct($charset = 'utf-8', $params = array()) {
|
||||||
$params = array_map(array($this, '_htmlEntities'), $params);
|
$params = array_map(array($this, '_htmlEntities'), $params);
|
||||||
$this->CakeBaseReporter($charset, $params);
|
parent::__construct($charset, $params);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Paints the top of the web page setting the
|
* Paints the top of the web page setting the
|
||||||
|
|
Loading…
Add table
Reference in a new issue