fixing typos, PHPDoc and missing namespace \