Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
0zd0 committed Apr 2, 2024
1 parent c2f94e2 commit abfcdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Gateways/ReepayGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit abfcdca

Please sign in to comment.