Skip to content

Commit

Permalink
Merge branch 'feature/tokenizer-list-is-parenthesis-owner' of https:/…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Apr 15, 2019
2 parents 55d563e + 553ed88 commit 69bf856
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function register()

$this->ignoreTokens[T_ANON_CLASS] = T_ANON_CLASS;
$this->ignoreTokens[T_USE] = T_USE;
$this->ignoreTokens[T_LIST] = T_LIST;
$this->ignoreTokens[T_DECLARE] = T_DECLARE;
$this->ignoreTokens[T_THROW] = T_THROW;
$this->ignoreTokens[T_YIELD] = T_YIELD;
Expand Down
1 change: 1 addition & 0 deletions src/Util/Tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ final class Tokens
*/
public static $parenthesisOpeners = [
T_ARRAY => T_ARRAY,
T_LIST => T_LIST,
T_FUNCTION => T_FUNCTION,
T_CLOSURE => T_CLOSURE,
T_WHILE => T_WHILE,
Expand Down

0 comments on commit 69bf856

Please sign in to comment.