Amazon-ECS-PHP-Library icon indicating copy to clipboard operation
Amazon-ECS-PHP-Library copied to clipboard

Inconsisten function optional parameters

Open alacret opened this issue 12 years ago • 2 comments

The function optional parameters clears the other parameters set already. This is inconsistent because with your ways of returning the main object in all the funcions. (Sorry my bad english).

I think you should either return a new object and make this function static like a Fcatory function. Or just make this function override and concate the parameters passed.

alacret avatar Feb 03 '13 20:02 alacret

which function are you talking about?

Exeu avatar Feb 03 '13 20:02 Exeu

public function optionalParameters($params = null)

alacret avatar Feb 03 '13 20:02 alacret