Fix casing and PHPDoc