Fix PHPCS formatting issues

This commit is contained in:
Daniel Dudzic 2024-10-01 15:57:20 +02:00
parent 763f6a431e
commit c153401608
No known key found for this signature in database
GPG key ID: 31B40D33E3465483
2 changed files with 13 additions and 12 deletions

View file

@ -102,7 +102,8 @@ class AxoBlockModule implements ServiceModule, ExtendingModule, ExecutableModule
add_action(
'woocommerce_blocks_payment_method_type_registration',
function( PaymentMethodRegistry $payment_method_registry ) use ( $c ): void {
/* Only register the method if we are not in the admin
/*
* Only register the method if we are not in the admin
* (to avoid two Debit & Credit Cards gateways in the
* checkout block in the editor: one from ACDC one from Axo).
*/