improve phpdoc on Resource document