Fixed PhpDoc errors and warnings