Skip to content

Commit

Permalink
Merge pull request #8699 from andrew-demb/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Nov 11, 2022
2 parents c613e47 + 5704087 commit efe3627
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1378,7 +1378,7 @@ private function visitEnumDeclaration(
$stmt->expr,
$this->aliases,
$this->file_scanner,
$storage->constants, // enum case value expressions cannot reference constants
$storage->constants,
$fq_classlike_name
);

Expand Down

0 comments on commit efe3627

Please sign in to comment.