Passed
Push — master ( 30672e...7bfc3b )
by Matthew
13:47 queued 08:22
created
www/docs/api/key.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
 
41 41
             try {
42 42
                 $invoice = $sub->latest_invoice;
43
-                $invoice->pay([ 'expand' => [ 'payment_intent' ] ]);
43
+                $invoice->pay(['expand' => ['payment_intent']]);
44 44
             } catch (\Stripe\Exception\CardException $e) {
45
-                $invoice = $subscription->api->client->invoices->retrieve($sub->latest_invoice, ['expand' => [ 'payment_intent'] ]);
45
+                $invoice = $subscription->api->client->invoices->retrieve($sub->latest_invoice, ['expand' => ['payment_intent']]);
46 46
             }
47 47
         } else {
48 48
             $invoice = $sub->latest_invoice;
Please login to merge, or discard this patch.