Skip to content

Commit 0449ca1

Browse files
committed
ACP2E-1215: Customer has no any vault token save, but vault payment method appears in admin checkout
- static fail fix
1 parent abb9ac2 commit 0449ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Vault/Plugin/PaymentMethodProcess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function afterGetMethods(Container $container, array $results): array
3939
{
4040
$methods = [];
4141
foreach ($results as $result) {
42-
if ($result instanceOf VaultPaymentInterface &&
42+
if ($result instanceof VaultPaymentInterface &&
4343
empty($this->tokensConfigProvider->getTokensComponents($result->getCode()))) {
4444
continue;
4545
}

0 commit comments

Comments
 (0)