summaryrefslogtreecommitdiff
path: root/src/HTML5
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2013-04-10 11:58:40 -0400
committerMatt Farina <[email protected]>2013-04-10 11:58:48 -0400
commit734464d5194b7a7ada25376955859b0d3a608ab1 (patch)
tree598d3f16d4af471422638baf26eae68ced4e53e7 /src/HTML5
parenteb0ea976ffc57aa3701e3e4cf6ce18375e9d10c2 (diff)
Moved the scanner to the new string input parser. The current test will fail until the parser is updated to handle positioning correctly.
Diffstat (limited to 'src/HTML5')
-rw-r--r--src/HTML5/Parser/Scanner.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/HTML5/Parser/Scanner.php b/src/HTML5/Parser/Scanner.php
index 77f14fb..10698d7 100644
--- a/src/HTML5/Parser/Scanner.php
+++ b/src/HTML5/Parser/Scanner.php
@@ -18,7 +18,7 @@ class Scanner {
/**
* Create a new Scanner.
*
- * @param \HTML5\InputStream $input
+ * @param \HTML5\Parser\InputStream $input
* An InputStream to be scanned.
*/
public function __construct($input) {
@@ -36,10 +36,7 @@ class Scanner {
}
/**
- * Take a peek at the character after the next character in the data.
- *
- * For example, you start scanning the string abc. The pointer is before a.
- * When you start peek() will return b while next() will return a.
+ * Take a peek at the next character in the data.
*
* @return string
* The next character.