From 261efd7aa58709f123c8f30c6c7d0107d57a7c54 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Thu, 18 Jun 2015 10:08:04 -0400 Subject: Updated comment to reflect return value. Comment on Elements::element for return value didn't reflect all possible types and Scrutinizer noted this. Updated. --- src/HTML5/Elements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php index 6cf72aa..69c2767 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 The element mask. + * @return int|bool The element mask or false if element does not exist. */ public static function element($name) { -- cgit v1.2.3