Add function comment for phpdoc