private hasGenericType ( ) : boolean | ||
Résultat | boolean | True if this union type has any types that are generic types. |
private function hasGenericType() : bool
{
return false !== $this->type_set->find(function (Type $type) : bool {
return $type->hasTemplateParameterTypes();
});
}