remove trailing whitespace (mostly because it was confusing phpdoc2)