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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user