Closed duck7000 closed 3 years ago
Thanks for your comments.
backwards compatible can't be achieved with 2 values, so atribute has to go then? Or i have to combine those 2 values in one string, which is also not backwards compatible.
I agree with the field names, although attribute doesn't say much what it stands for
I adjusted it back to what it was, so keep backwards compatible. I don't see a way to include attribute but keep backwards compatibility?
The only way to not break backwards compatibility are to add params, to the method, to change the return type/behavior.
In case that's not something you want to develop, you also need to revert the phpdoc block specifying @return
as that part still specify the new code.
@jreklund Thanks for your feedback.
For now i leave it like it is, i have updated phpdoc.
@all Thanks for merging!