Fix PHPcs problems

This commit is contained in:
Narek Zakarian 2022-11-29 20:06:34 +04:00
parent 77e8714877
commit d29f462e95
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -1937,7 +1937,7 @@ return array(
'wcgateway.enabled-ppcp-gateways' => static function ( ContainerInterface $container ): array {
$available_gateways = WC()->payment_gateways->get_available_payment_gateways();
$ppcp_gateways = $container->get( 'wcgateway.ppcp-gateways' );
$enabled_ppcp_gateways = array();
$enabled_ppcp_gateways = array();
foreach ( $ppcp_gateways as $gateway ) {
if ( ! isset( $available_gateways[ $gateway ] ) ) {