update phpdoc comments, fix composer.json