1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-04 21:28:06 +02:00

Fix phpdoc params in HTMLModule::addElement() and Bool attr (#233)

This commit is contained in:
Mateusz Turcza
2019-10-25 16:07:38 +02:00
committed by Edward Z. Yang
parent c6ca293eab
commit 06b3fc4cf4
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef
{
/**
* @type bool
* @type string
*/
protected $name;
@@ -17,7 +17,7 @@ class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef
public $minimized = true;
/**
* @param bool $name
* @param bool|string $name
*/
public function __construct($name = false)
{