Skip to content

Commit

Permalink
Remove extra () in function call
Browse files Browse the repository at this point in the history
  • Loading branch information
annemirasol committed Oct 18, 2024
1 parent 6895d0d commit 8ebb5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-stripe-blocks-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private function should_show_express_checkout_button() {
// Don't show if ECEs are supposed to be hidden on the cart page.
if (
has_block( 'woocommerce/cart' )
&& ! $this->express_checkout_configuration->express_checkout_helper->should_show_ece_on_cart_page()()
&& ! $this->express_checkout_configuration->express_checkout_helper->should_show_ece_on_cart_page()
) {
return false;
}
Expand Down

0 comments on commit 8ebb5e4

Please sign in to comment.