Fix typo and PHPDoc