summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2015-06-18 10:08:04 -0400
committerMatt Farina <[email protected]>2015-06-18 10:08:04 -0400
commit261efd7aa58709f123c8f30c6c7d0107d57a7c54 (patch)
treea246fd9b8d0d42afdc9b3b52229ef611a19c59e4 /src
parentf5641b3f6c2cd371f000154a8938b25e3fcbafbf (diff)
Updated comment to reflect return value.
Comment on Elements::element for return value didn't reflect all possible types and Scrutinizer noted this. Updated.
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Elements.php2
1 files changed, 1 insertions, 1 deletions
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)
{