Skip to content

Commit 8c06239

Browse files
committed
Php84 deprication fix
1 parent 5219ba9 commit 8c06239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/Zend/Exception.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Zend_Exception extends Exception
4040
* @param Exception $previous
4141
* @return void
4242
*/
43-
public function __construct($msg = '', $code = 0, Exception $previous = null)
43+
public function __construct($msg = '', $code = 0, ?Exception $previous = null)
4444
{
4545
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
4646
parent::__construct($msg, (int) $code);

0 commit comments

Comments
 (0)