Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srsbiz committed Apr 19, 2019
1 parent 3adf389 commit 218aae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ public function parseSymbol()
$flags |= Token::FLAG_SYMBOL_SYSTEM;
}
} elseif ($flags & Token::FLAG_SYMBOL_PARAMETER) {
if ('?' !== $token && $this->last + 1 < $this->len) {
if ($token !== '?' && $this->last + 1 < $this->len) {
++$this->last;
}
} else {
Expand Down

0 comments on commit 218aae9

Please sign in to comment.