1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-04 05:07:55 +02:00

Don't use PHP4-style constructors

This commit is contained in:
Synchro
2016-01-21 11:04:10 +01:00
committed by Edward Z. Yang
parent 92aabf2b23
commit 25db9e1dd0
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ class RowTimer extends Benchmark_Timer
public $name;
public function RowTimer($name, $auto = false)
public function __construct($name, $auto = false)
{
$this->name = htmlentities($name);
$this->Benchmark_Timer($auto);