phpdoc additions in PayuLu
fix "undefined variable" and "variable immediately overwritten"