mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 15:18:17 +01:00
Merge pull request #96 from Techworker/patch-1
Adjustment to documentation
This commit is contained in:
commit
74efea91d1
@ -100,7 +100,7 @@ class FileLexer extends PhpParser\Lexer {
|
||||
// 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
|
||||
// more efficient (as the parser has to keep a stack for the $startAttributes).
|
||||
$endAttributes['fileName'] = $fileName;
|
||||
$endAttributes['fileName'] = $this->fileName;
|
||||
|
||||
return $tokenId;
|
||||
}
|
||||
@ -111,4 +111,4 @@ handleHaltCompiler
|
||||
------------------
|
||||
|
||||
The method is invoked whenever a `T_HALT_COMPILER` token is encountered. It has to return the remaining string after the
|
||||
construct (not including `();`).
|
||||
construct (not including `();`).
|
||||
|
Loading…
x
Reference in New Issue
Block a user