diff --git a/lib/Card.php b/lib/Card.php
index 7f757d641..ba0e6fed8 100644
--- a/lib/Card.php
+++ b/lib/Card.php
@@ -39,6 +39,7 @@
* @property null|\Stripe\StripeObject $metadata Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
* @property null|string $name Cardholder name.
* @property null|string|\Stripe\Recipient $recipient The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.
+ * @property null|string $status For external accounts, possible values are new
and errored
. If a transfer fails, the status is set to errored
and transfers are stopped until account details are updated.
* @property null|string $tokenization_method If the card number is tokenized, this is the method that was used. Can be android_pay
(includes Google Pay), apple_pay
, masterpass
, visa_checkout
, or null.
*/
class Card extends ApiResource
diff --git a/lib/Order.php b/lib/Order.php
index fbbb90611..9b8400509 100644
--- a/lib/Order.php
+++ b/lib/Order.php
@@ -10,8 +10,8 @@
* create, retrieve, and pay individual orders, as well as list all orders. Orders
* are identified by a unique, random ID.
*
- * Related guide: Tax, Shipping, and
- * Inventory.
+ * Related guide: Tax, Shipping,
+ * and Inventory.
*
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
diff --git a/lib/SKU.php b/lib/SKU.php
index b418c6c5d..16e42b1e1 100644
--- a/lib/SKU.php
+++ b/lib/SKU.php
@@ -14,8 +14,8 @@
*
* Can also be used to manage inventory.
*
- * Related guide: Tax, Shipping, and
- * Inventory.
+ * Related guide: Tax, Shipping,
+ * and Inventory.
*
* @property string $id Unique identifier for the object.
* @property string $object String representing the object's type. Objects of the same type share the same value.
diff --git a/lib/Service/PaymentIntentService.php b/lib/Service/PaymentIntentService.php
index 3bfe708df..0ea7f0b56 100644
--- a/lib/Service/PaymentIntentService.php
+++ b/lib/Service/PaymentIntentService.php
@@ -32,6 +32,10 @@ public function all($params = null, $opts = null)
* status=’requires_capture’
, the remaining
* amount_capturable
will automatically be refunded.
*
+ * You cannot cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session
+ * instead
+ *
* @param string $id
* @param null|array $params
* @param null|array|\Stripe\Util\RequestOptions $opts
diff --git a/lib/Service/PaymentMethodService.php b/lib/Service/PaymentMethodService.php
index 33ba21179..1ddd282bf 100644
--- a/lib/Service/PaymentMethodService.php
+++ b/lib/Service/PaymentMethodService.php
@@ -79,7 +79,8 @@ public function create($params = null, $opts = null)
}
/**
- * Detaches a PaymentMethod object from a Customer.
+ * Detaches a PaymentMethod object from a Customer. After a PaymentMethod is
+ * detached, it can no longer be used for a payment or re-attached to a Customer.
*
* @param string $id
* @param null|array $params
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 3c664d8de..9702b2823 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -79,7 +79,8 @@ public function compatExpectWarning($warningClass)
}
}
- public static function compatAssertMatchesRegularExpression($text, $regex) {
+ public static function compatAssertMatchesRegularExpression($text, $regex)
+ {
if (method_exists(static::class, 'assertMatchesRegularExpression')) {
// @phpstan-ignore-next-line
static::assertMatchesRegularExpression($text, $regex);