Completed
Pull Request — master (#1710)
by Gabriel
123:02 queued 57:58
created
src/Infrastructure/Payment/PayPalPaymentNotificationVerifier.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\Frontend\Infrastructure\Payment;
6 6
 
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  */
15 15
 class PayPalPaymentNotificationVerifier implements PaymentNotificationVerifier {
16 16
 
17
-	private const ALLOWED_CURRENCY_CODES = [ 'EUR' ];
17
+	private const ALLOWED_CURRENCY_CODES = ['EUR'];
18 18
 	private const NOTIFICATION_TYPES_WITH_DIFFERENT_CURRENCY_FIELDS = [
19 19
 		'recurring_payment_suspended_due_to_max_failed_payment'
20 20
 	];
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 			'POST',
56 56
 			$this->baseUrl,
57 57
 			[
58
-				RequestOptions::FORM_PARAMS => array_merge( [ 'cmd' => '_notify-validate' ], $request ),
58
+				RequestOptions::FORM_PARAMS => array_merge( ['cmd' => '_notify-validate'], $request ),
59 59
 				RequestOptions::HTTP_ERRORS => false // disable throwing exceptions, return status instead
60 60
 			]
61 61
 		);
Please login to merge, or discard this patch.