1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-30 19:00:10 +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

@@ -5,7 +5,7 @@ class HTMLPurifier_AttrDef_CSS_Composite_Testable extends
{
// we need to pass by ref to get the mocks in
public function HTMLPurifier_AttrDef_CSS_Composite_Testable(&$defs)
public function __construct(&$defs)
{
$this->defs =& $defs;
}