reformat file
add PHPDoc for function params