File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1425,12 +1425,13 @@ public function getAttributeClassFlags(): int
1425
1425
public function getObjectType (): ObjectType
1426
1426
{
1427
1427
if (!$ this ->isGeneric ()) {
1428
- return new ObjectType ($ this ->getName ());
1428
+ return new ObjectType ($ this ->getName (), classReflection: $ this );
1429
1429
}
1430
1430
1431
1431
return new GenericObjectType (
1432
1432
$ this ->getName (),
1433
1433
$ this ->typeMapToList ($ this ->getActiveTemplateTypeMap ()),
1434
+ classReflection: $ this ,
1434
1435
variances: $ this ->varianceMapToList ($ this ->getCallSiteVarianceMap ()),
1435
1436
);
1436
1437
}
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ public function getEnumCaseObjectType(): EnumCaseObjectType
61
61
return new EnumCaseObjectType (
62
62
$ this ->declaringEnum ->getName (),
63
63
$ this ->getName (),
64
+ $ this ->declaringEnum ,
64
65
);
65
66
}
66
67
You can’t perform that action at this time.
0 commit comments