Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Dec 30, 2024
1 parent a715994 commit d374e5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Gateway/MolliePaymentGatewayHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ public function displayInstructions(
public function onOrderReceivedTitle($title, $id = null)
{
if (is_order_received_page() && get_the_ID() === $id) {

$order = false;
$orderReceived = get_query_var('order-received');
$order_id = apply_filters(
Expand Down
2 changes: 1 addition & 1 deletion src/Gateway/inc/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
$logger = $container->get(Logger::class);
assert($logger instanceof Logger);
$paymentGateways = $container->get('payment_gateways');
$paypalGateway = isset($paymentGateways['mollie_wc_gateway_paypal'])? $paymentGateways['mollie_wc_gateway_paypal'] : false;
$paypalGateway = isset($paymentGateways['mollie_wc_gateway_paypal']) ? $paymentGateways['mollie_wc_gateway_paypal'] : false;
if (!$paypalGateway) {
return false;
}
Expand Down

0 comments on commit d374e5f

Please sign in to comment.