Fixed phpdoc and coding standards