fix phpdoc on entities