Updated phpdoc and spellcheck