setColorsetBackgroundtransparency argument default (255) and hint text both imply numeric decimal type while the _getARGBColoralpha argument is clearly a hexadecimal string.
The "index.cfm" template invokes setColor with single string argument; ignoring setBackground method altogether.
IMO setColorsetBackgroundhexColor can be safely retyped from any to string.
Is setColorsetBackgroundtransparency retyping from any to numeric reasonable?
What other considerations for backwards compatibility are worth while considering?
setColor
setBackground
transparency
argument default (255) and hint text both imply numeric decimal type while the_getARGBColor
alpha
argument is clearly a hexadecimal string.The "index.cfm" template invokes
setColor
with single string argument; ignoringsetBackground
method altogether.IMO
setColor
setBackground
hexColor
can be safely retyped fromany
tostring
. IssetColor
setBackground
transparency
retyping fromany
tonumeric
reasonable? What other considerations for backwards compatibility are worth while considering?