also indentation is typically 4 spaces, which IDE are you using? i use phpstorm