[protoc-gen-php] fix missing required fields
[protoc-gen-php] fix missing return statement