Change requsts for #1432

* Add @param tag
* Update @return tag
* Remove closing PHP tag