phpdoc fixed
code reformatted