diff --git a/W/Responder.php b/W/Responder.php index fa6c619..431af96 100644 --- a/W/Responder.php +++ b/W/Responder.php @@ -54,12 +54,13 @@ final class Responder extends \Df\Payment\W\Responder { /** * 2017-09-13 + * 2023-08-03 "Treat `\Throwable` similar to `\Exception`": https://github.com/mage2pro/core/issues/311 * @override * @see \Df\Payment\W\Responder::error() * @used-by \Df\Payment\W\Responder::setError() - * @param \Exception|string $e + * @param \Throwable|string $t */ - protected function error($e):Result {return Result::i(1)->setHttpResponseCode(500);} + protected function error($t):Result {return Result::i(1)->setHttpResponseCode(500);} /** * 2017-09-12 diff --git a/composer.json b/composer.json index 239cd66..64578e9 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/qiwi" - ,"version": "1.2.1" + ,"version": "1.2.2" ,"description": "Visa QIWI Wallet (QIWI Кошелёк) integration with Magento 2" ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/qiwi" @@ -11,7 +11,7 @@ "homepage": "https://upwork.com/fl/mage2pro", "role": "Developer" }] - ,"require": {"mage2pro/core": ">=8.0.0", "mage2pro/phone": ">=1.2.1"} + ,"require": {"mage2pro/core": ">=10.2.1", "mage2pro/phone": ">=1.2.1"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Qiwi\\": ""}} ,"keywords": [ "API"