You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Volodymyr Panivko (Jira)" <ji...@apache.org> on 2026/05/13 18:14:00 UTC
[jira] [Assigned] (THRIFT-5990) Emit native return types on generated PHP struct methods
[ https://issues.apache.org/jira/browse/THRIFT-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Volodymyr Panivko reassigned THRIFT-5990:
-----------------------------------------
Assignee: Volodymyr Panivko
> 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: Sub-task
> Components: PHP - Compiler
> Reporter: Volodymyr Panivko
> Assignee: Volodymyr Panivko
> Priority: Minor
>
> 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)