Skip to content

Commit 768879f

Browse files
canvuralcalebdw
authored andcommitted
fix: model property type has template type
1 parent 97bbe5a commit 768879f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Types/ModelProperty/GenericModelPropertyType.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ public function getReferencedTemplateTypes(TemplateTypeVariance $positionVarianc
193193
return $this->getGenericType()->getReferencedTemplateTypes($variance);
194194
}
195195

196+
public function hasTemplateOrLateResolvableType(): bool
197+
{
198+
return true;
199+
}
200+
196201
/** @param mixed[] $properties */
197202
public static function __set_state(array $properties): Type
198203
{

0 commit comments

Comments
 (0)