Skip to content

Commit

Permalink
Merge pull request #1 from magento-gl/php84_deprication_fix
Browse files Browse the repository at this point in the history
Php84 deprication fix
  • Loading branch information
glo71317 authored Dec 18, 2024
2 parents 5219ba9 + 8c06239 commit 2aa533f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Zend_Exception extends Exception
* @param Exception $previous
* @return void
*/
public function __construct($msg = '', $code = 0, Exception $previous = null)
public function __construct($msg = '', $code = 0, ?Exception $previous = null)
{
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
parent::__construct($msg, (int) $code);
Expand Down

0 comments on commit 2aa533f

Please sign in to comment.