Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Mar 14, 2017
1 parent 62e5f00 commit 92f9f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ private function pCharge() {return [
/**
* 2016-10-06
* @used-by \Dfe\Square\Method::charge()
* @param Method $method
* @param Method $m
* @param string $token
* @param float|null $amount [optional]
* @return array(string => mixed)
*/
static function p(Method $method, $token, $amount = null) {return (new self([
self::$P__AMOUNT => $amount, self::$P__METHOD => $method, self::$P__TOKEN => $token
]))->pCharge();}
static function p(Method $m, $token, $amount = null) {return (new self($m, $token, $amount))->pCharge();}
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/square"
,"version": "1.0.26"
,"version": "1.1.0"
,"description": "The «Square» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/square"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.1.1", "mage2pro/square-php-sdk": "^2.0.2"}
,"require": {"mage2pro/core": ">=2.2.0", "mage2pro/square-php-sdk": "^2.0.2"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Square\\": ""}}
,"keywords": [
"API"
Expand Down

0 comments on commit 92f9f6d

Please sign in to comment.