fixed/added phpdoc
fixed typo