[Security] Fixed typos/CS/PHPDoc