public nonGenericArrayTypes ( ) : |
||
Résultat | A UnionType with generic types filtered out |
public function nonGenericArrayTypes() : UnionType
{
return new UnionType($this->type_set->filter(function (Type $type) : bool {
return !$type->isGenericArray();
}));
}