summaryrefslogtreecommitdiff
path: root/src/HTML5/Serializer/Traverser.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTML5/Serializer/Traverser.php')
-rw-r--r--src/HTML5/Serializer/Traverser.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/HTML5/Serializer/Traverser.php b/src/HTML5/Serializer/Traverser.php
index a33943f..1e8d792 100644
--- a/src/HTML5/Serializer/Traverser.php
+++ b/src/HTML5/Serializer/Traverser.php
@@ -35,7 +35,7 @@ class Traverser
/**
* Create a traverser.
*
- * @param \DOMNode|\DOMNodeList $dom The document or node to traverse
+ * @param \DOMNode|\DOMNodeList $dom The document or node to traverse.
* @param resource $out A stream that allows writing. The traverser will output into this
* stream.
* @param array $options An array of options for the traverser as key/value pairs. These include:
@@ -56,7 +56,7 @@ class Traverser
/**
* Tell the traverser to walk the DOM.
*
- * @return resource $out Returns the output stream
+ * @return resource $out Returns the output stream.
*/
public function walk()
{
@@ -83,7 +83,7 @@ class Traverser
/**
* Process a node in the DOM.
*
- * @param mixed $node A node implementing \DOMNode
+ * @param mixed $node A node implementing \DOMNode.
*/
public function node($node)
{
@@ -114,7 +114,7 @@ class Traverser
/**
* Walk through all the nodes on a node list.
*
- * @param \DOMNodeList $nl A list of child elements to walk through
+ * @param \DOMNodeList $nl A list of child elements to walk through.
*/
public function children($nl)
{
@@ -126,9 +126,9 @@ class Traverser
/**
* Is an element local?
*
- * @param mixed $ele An element that implement \DOMNode
+ * @param mixed $ele An element that implement \DOMNode.
*
- * @return bool true if local and false otherwise
+ * @return bool true if local and false otherwise.
*/
public function isLocalElement($ele)
{