php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71307 [FR] Exception::__construct() now accepts Throwable
Submitted: 2016-01-08 00:27 UTC Modified: 2016-04-24 04:33 UTC
From: benjamin dot morel at gmail dot com Assigned: pierrick (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: benjamin dot morel at gmail dot com
New email:
PHP Version: OS:

 

 [2016-01-08 00:27 UTC] benjamin dot morel at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/exception.construct
---

French version has not been updated to accept Throwable. Other languages might be lagging behind the English version as well.

Expected result:
----------------
public __construct ([ string $message = "" [, int $code = 0 [, Throwable $previous = NULL ]]] )

Actual result:
--------------
public __construct ([ string $message = "" [, int $code = 0 [, Exception $previous = NULL ]]] )

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-08 08:57 UTC] salathe@php.net
-Summary: Exception::__construct() now accepts Throwable +Summary: [FR] Exception::__construct() now accepts Throwable
 [2016-04-24 04:32 UTC] pierrick@php.net
Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=339069
Log: Fixed bug #71307  Exception::__construct() now accepts Throwable
 [2016-04-24 04:33 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2020-12-30 12:48 UTC] nikic@php.net
Automatic comment on behalf of pierrick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=253c9eae7d8e4175500686b51dc623f6a0d76392
Log: Fixed bug #71307  Exception::__construct() now accepts Throwable
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 17:01:34 2024 UTC