I reviewed this question where the edit was adding missing parentheses and brackets to source code . Since the OP's description of what was wrong was so vague of but am unable to make it work and What am i doing wrong above? I thought it may be possible that the missing brace was relevant to their question.
The edit was approved 3-2 so I rolled it back and made the typo fixes that the suggested edit had made. Was this the correct thing to do or should I have agreed with the majority of the reviewers?