We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd44528 + 48f8990 commit 9c29d63Copy full SHA for 9c29d63
src/Type/IntersectionType.php
@@ -863,7 +863,7 @@ public function getEnumCases(): array
863
foreach ($this->types as $type) {
864
$oneType = [];
865
foreach ($type->getEnumCases() as $enumCase) {
866
- $oneType[md5($enumCase->describe(VerbosityLevel::typeOnly()))] = $enumCase;
+ $oneType[$enumCase->getClassName() . '::' . $enumCase->getEnumCaseName()] = $enumCase;
867
}
868
$compare[] = $oneType;
869
0 commit comments