added missing use statements and fixed phpdoc typos