Remove comments

This commit is contained in:
Emili Castells Guasch 2025-07-21 09:34:40 +02:00
parent 6cccb0c973
commit ac2bfa13af
No known key found for this signature in database
3 changed files with 1 additions and 7 deletions

View file

@ -436,7 +436,6 @@ class AxoModule implements ServiceModule, ExtendingModule, ExecutableModule {
* @return bool
*/
private function is_excluded_endpoint(): bool {
// Exclude the Order Pay and Order Received endpoints.
return is_wc_endpoint_url( 'order-pay' ) || is_wc_endpoint_url( 'order-received' );
}

View file

@ -15,9 +15,6 @@ use WooCommerce\PayPalCommerce\WcGateway\Helper\CardPaymentsConfiguration;
use WooCommerce\PayPalCommerce\WcGateway\Helper\CartCheckoutDetector;
use WooCommerce\PayPalCommerce\WcSubscriptions\Helper\SubscriptionHelper;
/**
* Class AxoApplies
*/
class AxoApplies {
/**
@ -110,7 +107,6 @@ class AxoApplies {
* @return bool
*/
private function is_excluded_endpoint(): bool {
// Exclude the Order Pay and Order Received endpoints.
return is_wc_endpoint_url( 'order-pay' ) || is_wc_endpoint_url( 'order-received' );
}
}

View file

@ -20,8 +20,7 @@ use WooCommerce\PayPalCommerce\Button\Assets\SmartButtonInterface;
*/
class CartScriptParamsEndpoint implements EndpointInterface {
const ENDPOINT = 'ppc-cart-script-params';
public const ENDPOINT = 'ppc-cart-script-params';
/**
* The SmartButton.