Updated PHPdoc to reflect code