summaryrefslogtreecommitdiff
path: root/src/HTML5
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTML5')
-rw-r--r--src/HTML5/Elements.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php
index b45de89..511da9d 100644
--- a/src/HTML5/Elements.php
+++ b/src/HTML5/Elements.php
@@ -557,7 +557,7 @@ class Elements
* @param string $name
* The name of the element.
*
- * @return int|bool The element mask or false if element does not exist.
+ * @return int The element mask.
*/
public static function element($name)
{
@@ -571,7 +571,7 @@ class Elements
return static::$mathml[$name];
}
- return false;
+ return 0;
}
/**