Doc #80882 [Opn->Csd]: Exception::getPrevious and Throwable::getPrevious may return NULL

From: Date: Thu, 18 Mar 2021 14:44:16 +0000
Subject: Doc #80882 [Opn->Csd]: Exception::getPrevious and Throwable::getPrevious may return NULL
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18653@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80882&edit=1 ID: 80882 Updated by: pollita@php.net Reported by: php at hatlak dot de Summary: Exception::getPrevious and Throwable::getPrevious may return NULL -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: 7.4.16 -Assigned To: +Assigned To: pollita Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Thanks for the report! I've updated them and Error::getPrevious() as well: https://github.com/php/doc-en/commit/6a89105fdc8fc94d843567c3738925289ef3a499 Previous Comments: ------------------------------------------------------------------------ [2021-03-18 14:29:00] php at hatlak dot de Description: ------------ --- From manual page: https://php.net/exception.getprevious --- Exception::getPrevious and Throwable::getPrevious may return NULL The text already mentions that, but the return type declarations do not reflect it. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80882&edit=1

« previous php.doc.bugs (#18653) next »