1
0
mirror of https://github.com/nikic/PHP-Parser.git synced 2025-07-23 15:21:23 +02:00

Merge pull request from Techworker/patch-1

Adjustment to documentation
This commit is contained in:
Nikita Popov
2014-02-21 18:19:28 +01:00

@@ -100,7 +100,7 @@ class FileLexer extends PhpParser\Lexer {
// we could use either $startAttributes or $endAttributes here, because the fileName is always the same // we could use either $startAttributes or $endAttributes here, because the fileName is always the same
// (regardless of whether it is the start or end token). We choose $endAttributes, because it is slightly // (regardless of whether it is the start or end token). We choose $endAttributes, because it is slightly
// more efficient (as the parser has to keep a stack for the $startAttributes). // more efficient (as the parser has to keep a stack for the $startAttributes).
$endAttributes['fileName'] = $fileName; $endAttributes['fileName'] = $this->fileName;
return $tokenId; return $tokenId;
} }