Skip to content

Commit

Permalink
Merge branch refs/heads/1.12.x into 2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot authored Nov 30, 2024
2 parents bd44528 + 48f8990 commit 9c29d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/IntersectionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ public function getEnumCases(): array
foreach ($this->types as $type) {
$oneType = [];
foreach ($type->getEnumCases() as $enumCase) {
$oneType[md5($enumCase->describe(VerbosityLevel::typeOnly()))] = $enumCase;
$oneType[$enumCase->getClassName() . '::' . $enumCase->getEnumCaseName()] = $enumCase;
}
$compare[] = $oneType;
}
Expand Down

0 comments on commit 9c29d63

Please sign in to comment.