Completed
Push — master ( 76a020...3a65e2 )
by Dmitry
14s
created
src/merchants/stripe/ConfirmationStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 $paymentIntent = $event->data->object;
77 77
             // ... handle other event types
78 78
             default:
79
-                echo 'Received unknown event type ' . $event->type;
79
+                echo 'Received unknown event type '.$event->type;
80 80
         }
81 81
         $pi = $paymentIntent->id;
82 82
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
         if (isset($response->getData()['error']['message']) || isset($response->getData()['last_payment_error']['message'])) {
128 128
             $message = $response->getData()['error']['message'] ?? $response->getData()['last_payment_error']['message'];
129
-            throw new MeaningfulForUserMerchantException("Failed to charge card:\n" . $message);
129
+            throw new MeaningfulForUserMerchantException("Failed to charge card:\n".$message);
130 130
         }
131 131
 
132 132
         throw new MerchantException('Failed to charge card');
Please login to merge, or discard this patch.