[ 
https://issues.apache.org/jira/browse/THRIFT-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Volodymyr Panivko reassigned THRIFT-5985:
-----------------------------------------

    Assignee: Volodymyr Panivko

> Add native method types to PHP Exception hierarchy
> --------------------------------------------------
>
>                 Key: THRIFT-5985
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5985
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: PHP - Library
>            Reporter: Volodymyr Panivko
>            Assignee: Volodymyr Panivko
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Type the public surface of the PHP exception hierarchy 
> (`lib/php/lib/Exception/`):
> - `TException::__construct` — preserve the bridge constructor (accepts either 
> standard Exception args or Thrift Base spec/vals) via union types 
> `string|array|null` + `int|array`.
> - `TApplicationException::__construct(?string $message = null, int $code = 
> 0)` plus `read()`/`write()` parameter and return types.
> - `TProtocolException::__construct(?string $message = null, int $code = 0)`.
> - `TTransportException::__construct(?string $message = null, int $code = 0)`.
> Follow-up to THRIFT-5981 / THRIFT-5984 within the umbrella THRIFT-5960 (PHP 
> modernization).



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

Reply via email to