Remove trailing spaces / closing php tag

Just wanted to get this into the upstream to match.
Fix spacing on comments to line up

Looks like this had been forgotten
Merge pull request #18 from KorvinSzanto/patch-1

Remove trailing spaces / closing php tag