File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1739,10 +1739,10 @@ public function getClassReflection(): ?ClassReflection
17391739
17401740 $ classReflection = $ reflectionProvider ->getClass ($ this ->className );
17411741 if ($ classReflection ->isGeneric ()) {
1742- return $ classReflection ->withTypes (array_values ($ classReflection ->getTemplateTypeMap ()->map (static fn (): Type => new ErrorType ())->getTypes ()));
1742+ return $ this -> classReflection = $ classReflection ->withTypes (array_values ($ classReflection ->getTemplateTypeMap ()->map (static fn (): Type => new ErrorType ())->getTypes ()));
17431743 }
17441744
1745- return $ classReflection ;
1745+ return $ this -> classReflection = $ classReflection ;
17461746 }
17471747
17481748 public function getAncestorWithClassName (string $ className ): ?self
You can’t perform that action at this time.
0 commit comments