Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
remove reference to ArrayCreationExpression
Browse files Browse the repository at this point in the history
removed in HHAST 4.53
  • Loading branch information
jjergus committed Apr 16, 2020
1 parent 6d28cc9 commit dcca6c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/expression/StaticArrayExpression.hack
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ final class StaticArrayExpression extends Expression<mixed> {

<<__Override>>
protected static function matchImpl(this::TNode $node): ?Expression<mixed> {
if ($node is HHAST\ArrayCreationExpression) {
$members = $node->getMembers();
} else if ($node is HHAST\ArrayIntrinsicExpression) {
if ($node is HHAST\ArrayIntrinsicExpression) {
$members = $node->getMembers();
} else {
return null;
Expand Down

0 comments on commit dcca6c2

Please sign in to comment.