mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-06 22:26:31 +02:00
feat: PHP 8.4 support (#441)
This commit is contained in:
@@ -142,12 +142,11 @@ class HTMLPurifier_ContentSets
|
||||
if ($return !== false) {
|
||||
return $return;
|
||||
}
|
||||
// error-out
|
||||
trigger_error(
|
||||
|
||||
throw new Exception(
|
||||
'Could not determine which ChildDef class to instantiate',
|
||||
E_USER_ERROR
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user