[Debug] added some missing phpdocs
fixed an error message