mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-07-23 15:21:23 +02:00
Merge pull request #96 from Techworker/patch-1
Adjustment to documentation
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user