Skip to content

Commit ae98bd1

Browse files
2.2.8
1 parent 1958f64 commit ae98bd1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Facade/Card.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* «Connect API v2 Reference» → «API Data Types» → «Card»
66
* https://docs.connect.squareup.com/api/connect/v2#type-card
77
*/
8-
final class Card implements \Df\StripeClone\Facade\ICard {
8+
final class Card extends \Df\StripeClone\Facade\Card {
99
/**
1010
* 2017-10-07
1111
* @used-by \Df\StripeClone\Facade\Card::create()
@@ -27,7 +27,7 @@ function __construct($p) {$this->_p = $p;}
2727
* `VISA`
2828
* Type: string.
2929
* @override
30-
* @see \Df\StripeClone\Facade\ICard::brand()
30+
* @see \Df\StripeClone\Facade\Card::brand()
3131
* @used-by \Df\StripeClone\CardFormatter::ii()
3232
* @used-by \Df\StripeClone\CardFormatter::label()
3333
* @return string
@@ -55,7 +55,7 @@ function brand() {return dftr($this->_p['card_brand'], [
5555
* Note 3. It should be an ISO-2 code or `null`.
5656
* Type: string.
5757
* @override
58-
* @see \Df\StripeClone\Facade\ICard::country()
58+
* @see \Df\StripeClone\Facade\Card::country()
5959
* @used-by \Df\StripeClone\CardFormatter::country()
6060
* @return string
6161
*/
@@ -66,7 +66,7 @@ function country() {return dfa_deep($this->_p, 'address/country');}
6666
* «The month of the card's expiration date. This value is always between 1 and 12, inclusive.»
6767
* Type: integer.
6868
* @override
69-
* @see \Df\StripeClone\Facade\ICard::expMonth()
69+
* @see \Df\StripeClone\Facade\Card::expMonth()
7070
* @used-by \Df\StripeClone\CardFormatter::exp()
7171
* @used-by \Df\StripeClone\CardFormatter::ii()
7272
* @return int
@@ -77,7 +77,7 @@ function expMonth() {return $this->_p['exp_month'];}
7777
* 2017-10-07 «The four-digit year of the card's expiration date»
7878
* Type: integer.
7979
* @override
80-
* @see \Df\StripeClone\Facade\ICard::expYear()
80+
* @see \Df\StripeClone\Facade\Card::expYear()
8181
* @used-by \Df\StripeClone\CardFormatter::exp()
8282
* @used-by \Df\StripeClone\CardFormatter::ii()
8383
* @return int
@@ -88,7 +88,7 @@ function expYear() {return $this->_p['exp_year'];}
8888
* 2017-10-07 «The card's unique ID, if any»
8989
* Type: string.
9090
* @override
91-
* @see \Df\StripeClone\Facade\ICard::id()
91+
* @see \Df\StripeClone\Facade\Card::id()
9292
* @used-by \Df\StripeClone\ConfigProvider::cards()
9393
* @used-by \Df\StripeClone\Facade\Customer::cardIdForJustCreated()
9494
* @return string
@@ -99,7 +99,7 @@ function id() {return $this->_p['id'];}
9999
* 2017-10-07 «The last 4 digits of the card's number»
100100
* Type: string.
101101
* @override
102-
* @see \Df\StripeClone\Facade\ICard::last4()
102+
* @see \Df\StripeClone\Facade\Card::last4()
103103
* @used-by \Df\StripeClone\CardFormatter::ii()
104104
* @used-by \Df\StripeClone\CardFormatter::label()
105105
* @return string
@@ -111,7 +111,7 @@ function last4() {return $this->_p['last_4'];}
111111
* This value is present only if this object represents a customer's card on file.»
112112
* Type: string.
113113
* @override
114-
* @see \Df\StripeClone\Facade\ICard::owner()
114+
* @see \Df\StripeClone\Facade\Card::owner()
115115
* @used-by \Df\StripeClone\CardFormatter::ii()
116116
* @return string|null
117117
*/

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mage2pro/square"
3-
,"version": "2.2.7"
3+
,"version": "2.2.8"
44
,"description": "Square Payments integration with Magento 2"
55
,"type": "magento2-module"
66
,"homepage": "https://mage2.pro/c/extensions/square"
@@ -11,7 +11,7 @@
1111
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
1212
"role": "Developer"
1313
}]
14-
,"require": {"mage2pro/core": ">=3.10.5"}
14+
,"require": {"mage2pro/core": ">=3.11.0"}
1515
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Square\\": ""}}
1616
,"keywords": [
1717
"API"

0 commit comments

Comments
 (0)