From 5189a7c898dd15185e87fdc953ee9ed6c4f19e2e Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Sat, 11 Feb 2017 02:31:16 +0300 Subject: [PATCH] 1.6.43 --- Facade/O.php | 15 +++++++++++++++ Method.php | 10 ---------- composer.json | 4 ++-- 3 files changed, 17 insertions(+), 12 deletions(-) create mode 100644 Facade/O.php diff --git a/Facade/O.php b/Facade/O.php new file mode 100644 index 0000000..593ab84 --- /dev/null +++ b/Facade/O.php @@ -0,0 +1,15 @@ + mixed) + */ + public function toArray($o) {return $o->getLastResponse()->json;} +} \ No newline at end of file diff --git a/Method.php b/Method.php index 908926d..5e49b31 100644 --- a/Method.php +++ b/Method.php @@ -65,16 +65,6 @@ protected function convertException(\Exception $e) {return $e instanceof lException ? new Exception($e) : $e ;} - /** - * 2016-12-27 - * @override - * @see \Df\StripeClone\Method::responseToArray() - * @used-by \Df\StripeClone\Method::transInfo() - * @param \Stripe\StripeObject $response - * @return array(string => mixed) - */ - protected function responseToArray($response) {return $response->getLastResponse()->json;} - /** * 2016-12-26 * Хотя Stripe использует для страниц транзакций адреса вида diff --git a/composer.json b/composer.json index 1f74ace..00fd6e8 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/stripe" - ,"version": "1.6.42" + ,"version": "1.6.43" ,"description": "The «Stripe» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/stripe" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": "^1.12.20", "stripe/stripe-php": "3.*"} + ,"require": {"mage2pro/core": "^1.12.21", "stripe/stripe-php": "3.*"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Stripe\\": ""}} ,"keywords": [ "API"