[TASK] Some refactorings

Removed unnecessary closing php tag and completed phpdoc

Change-Id: Ic8852645a715541455abdc73cef6835aa1c076b8
Reviewed-on: http://review.typo3.org/31822
Reviewed-by: Armin Ruediger Vieweg <armin@v.ieweg.de>
Tested-by: Armin Ruediger Vieweg <armin@v.ieweg.de>