Skip to content

Commit

Permalink
Cast filter as bool
Browse files Browse the repository at this point in the history
  • Loading branch information
unfulvio committed Sep 26, 2024
1 parent 7b2c62c commit 1cfa890
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ public function is_subscriptions_active() : bool {
*
* @param bool $subscriptions_active
*/
return apply_filters( 'sv_wc_payment_gateway_is_subscriptions_active', $this->subscriptions_active );
return (bool) apply_filters( 'sv_wc_payment_gateway_is_subscriptions_active', $this->subscriptions_active );
}


Expand Down

0 comments on commit 1cfa890

Please sign in to comment.