fixing typos
fixing PHPDoc