From abfcdcaf6c84b9f123beedd10afb1f63a49da858 Mon Sep 17 00:00:00 2001 From: PLAKSHERiE <67220210+PLAKSHERiE@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:55:45 +0300 Subject: [PATCH] fix code style --- includes/Gateways/ReepayGateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Gateways/ReepayGateway.php b/includes/Gateways/ReepayGateway.php index a911a95e..bbc5b342 100644 --- a/includes/Gateways/ReepayGateway.php +++ b/includes/Gateways/ReepayGateway.php @@ -339,7 +339,7 @@ public function check_is_active(): bool { $current_name = str_replace( 'reepay_', '', $this->id ); - if ( ! empty( $gateways_reepay ) and !is_wp_error($gateways_reepay) ) { + if ( ! empty( $gateways_reepay ) && ! is_wp_error( $gateways_reepay ) ) { foreach ( $gateways_reepay as $app ) { if ( stripos( $app['type'], $current_name ) !== false ) { return true;