diff options
author | NeonXP <frei@neonxp.info> | 2013-09-06 08:21:31 +0400 |
---|---|---|
committer | NeonXP <frei@neonxp.info> | 2013-09-06 08:21:31 +0400 |
commit | 5ce6a3ca43658bb643dc08dcf40ee6fbcc3d6709 (patch) | |
tree | 22ebc1f06bcf73b6f74a9bb7dfb776cc4591dcc3 /src/NXP/Classes | |
parent | 9cef8dbc799343f6fc0fca926fbef4917b94f335 (diff) |
~ Fix PHP 5.3 compatibility
Diffstat (limited to 'src/NXP/Classes')
-rw-r--r-- | src/NXP/Classes/Lexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/Classes/Lexer.php b/src/NXP/Classes/Lexer.php index 63a87b2..3729e48 100644 --- a/src/NXP/Classes/Lexer.php +++ b/src/NXP/Classes/Lexer.php @@ -45,7 +45,7 @@ class Lexer $matches = array(); preg_match_all($this->tokenFactory->getTokenParserRegex(), $input, $matches); $tokensStream = array_map( - function ($token) { + function ($token) use ($this) { return $this->tokenFactory->createToken($token); }, $matches[0] |