diff options
author | Matt Farina <[email protected]> | 2013-11-06 07:56:35 -0500 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-11-06 07:56:35 -0500 |
commit | c7095e630d1da8e3d25905ababea0808ad3d8f12 (patch) | |
tree | 3fbf849507fb66d7d5144f0d63676b0156239604 /src/HTML5 | |
parent | 51afaed4bad68a56c1719b89156f1fd80bdc7e44 (diff) |
Improving the documentation coverage.
Diffstat (limited to 'src/HTML5')
-rw-r--r-- | src/HTML5/Elements.php | 11 | ||||
-rw-r--r-- | src/HTML5/Parser/StringInputStream.php | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php index 0dabc3a..69d3882 100644 --- a/src/HTML5/Elements.php +++ b/src/HTML5/Elements.php @@ -1,9 +1,10 @@ <?php +/** + * Provide general element functions. + */ namespace HTML5; /** - * Provide general element functions. - * * This class provides general information about HTML5 elements, * including syntactic and semantic issues. Parsers and serializers can * use this class as a reference point for information about the rules @@ -532,6 +533,12 @@ class Elements { /** * Get the element mask for the given element name. + * + * @param string $name + * The name of the element. + * + * @return int + * The element mask. */ public static function element($name) { if (isset(static::$html5[$name])) { diff --git a/src/HTML5/Parser/StringInputStream.php b/src/HTML5/Parser/StringInputStream.php index 0d2a7f3..ca5fee0 100644 --- a/src/HTML5/Parser/StringInputStream.php +++ b/src/HTML5/Parser/StringInputStream.php @@ -1,4 +1,7 @@ <?php +/** + * Loads a string to be parsed. + */ namespace HTML5\Parser; /* |