|
@@ -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\App\Controllers; |
|
6
|
6
|
|
|
@@ -32,7 +32,7 @@ discard block |
|
|
block discarded – undo |
|
32
|
32
|
->setCurrency( $request->query->get( 'currency', '' ) ) |
|
33
|
33
|
); |
|
34
|
34
|
|
|
35
|
|
- $loggingContext = $response->getLowLevelError() === null ? [] : [ 'exception' => $response->getLowLevelError() ]; |
|
|
35
|
+ $loggingContext = $response->getLowLevelError() === null ? [] : ['exception' => $response->getLowLevelError()]; |
|
36
|
36
|
if ( !$response->isSuccessful() ) { |
|
37
|
37
|
$ffFactory->getLogger()->error( 'Credit Card Notification Error: ' . $response->getErrorMessage(), $loggingContext ); |
|
38
|
38
|
} elseif ( $loggingContext !== [] ) { |
Please login to merge, or discard this patch.