[minor] Update coding style

- bracket notation for methods
- opening brace on current line