Skip to content

Commit 8b760cc

Browse files
committed
PHP 8.4 support
1 parent 15fcb5a commit 8b760cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/HTMLPurifier/HTML5Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ public static function inherit(HTMLPurifier_Config $config)
6060

6161
/**
6262
* @param HTMLPurifier_ConfigSchema $schema
63-
* @param HTMLPurifier_PropertyList $parent OPTIONAL
63+
* @param HTMLPurifier_PropertyList|null $parent OPTIONAL
6464
*/
65-
public function __construct(HTMLPurifier_ConfigSchema $schema, HTMLPurifier_PropertyList $parent = null)
65+
public function __construct(HTMLPurifier_ConfigSchema $schema, $parent = null)
6666
{
6767
// ensure 'HTML5' is among allowed 'HTML.Doctype' values
6868
$doctypeConfig = $schema->info['HTML.Doctype'];

0 commit comments

Comments
 (0)