fix CS and update PHPDocs