Should this be `@param Type[] $validTypes`?