Skip to content

Commit 85fa974

Browse files
committed
fix cs
1 parent 3ec20da commit 85fa974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elements/Order.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ public function beforeValidate(): bool
13911391
if (!$this->gatewayId && !$this->paymentSourceId) {
13921392
$gateways = Plugin::getInstance()->getGateways()->getAllCustomerEnabledGateways();
13931393
if ($gateways->isNotEmpty()) {
1394-
$gateway = $gateways->filter(fn (GatewayInterface $g) => $g->availableForUseWithOrder($this))->first();
1394+
$gateway = $gateways->filter(fn(GatewayInterface $g) => $g->availableForUseWithOrder($this))->first();
13951395

13961396
if ($gateway) {
13971397
$this->gatewayId = $gateway->id;

0 commit comments

Comments
 (0)