Declaration of interest: this concerns an answer I wrote.
In PHP and Enumerations there is a very highly voted answer, it's the top answer, and it is, in my opinion, quite a good answer. However, it has a shortcoming, and so I added an answer explaining how to resolve those shortcomings should they apply to you (PHP and Enumerations).
Recently, someone (crediting me with a comment and in the edit notes) changed the original answer to incorporate the code variation in my answer.
It seems to me that this will now confuse incoming readers as there are a number of comments and other answers which don't quite make sense anymore. It would seem to me that, if the answer should be edited at all, it should simply include one extra line noting the potential issue and with a link to the alternative answer, or encouraging the reader to read a number of the other answers before coding for their situation rather than picking one particular answer, and changing the code in the answer.
However, I may be wrong here, and I wondered what the correct approach to such a situation was?