Improved indentation

Used http://beta.phpformatter.com/ to properly indent lines for
readability.