mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Update Tokenizer.php
This commit is contained in:
parent
55b84888e8
commit
4dd1e1870c
@ -254,7 +254,7 @@ class Tokenizer
|
||||
*/
|
||||
public function current()
|
||||
{
|
||||
return $this->curr[1];
|
||||
return $this->curr ? $this->curr[1] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user