Volodymyr Panivko created THRIFT-5990:
-----------------------------------------

             Summary: Emit native return types on generated PHP struct methods
                 Key: THRIFT-5990
                 URL: https://issues.apache.org/jira/browse/THRIFT-5990
             Project: Thrift
          Issue Type: Improvement
          Components: PHP - Compiler
            Reporter: Volodymyr Panivko


Phase G2 of THRIFT-5960 PHP modernization. Make the PHP generator emit native 
return types on:

- getName(): string
- read(TProtocol $input): int
- write(TProtocol $output): int (or write(string &$output): int for 
binary_inline mode)
- validateForRead(): void / validateForWrite(): void
- jsonSerialize(): mixed

Follow-up to THRIFT-5986 (declare(strict_types=1) phase).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to