We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5219ba9 + 8c06239 commit 2aa533fCopy full SHA for 2aa533f
library/Zend/Exception.php
@@ -40,7 +40,7 @@ class Zend_Exception extends Exception
40
* @param Exception $previous
41
* @return void
42
*/
43
- public function __construct($msg = '', $code = 0, Exception $previous = null)
+ public function __construct($msg = '', $code = 0, ?Exception $previous = null)
44
{
45
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
46
parent::__construct($msg, (int) $code);
0 commit comments