Agreed all params should be required. Also should add array type hint to $vars.