diff --git a/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php b/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php index 0f2daa17a..351db02a6 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php +++ b/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php @@ -85,7 +85,7 @@ class PayUponInvoice { protected $state; /** - * The is ppcp settings page. + * Whether the current page is the PPCP settings page. * * @var bool */ diff --git a/modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceProductStatus.php b/modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceProductStatus.php index 3358605e8..60b72dc7f 100644 --- a/modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceProductStatus.php +++ b/modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceProductStatus.php @@ -16,7 +16,7 @@ use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings; use WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException; /** - * Class DccProductStatus + * Class PayUponInvoiceProductStatus */ class PayUponInvoiceProductStatus { @@ -41,7 +41,7 @@ class PayUponInvoiceProductStatus { private $partners_endpoint; /** - * DccProductStatus constructor. + * PayUponInvoiceProductStatus constructor. * * @param Settings $settings The Settings. * @param PartnersEndpoint $partners_endpoint The Partner Endpoint. @@ -58,7 +58,6 @@ class PayUponInvoiceProductStatus { * Whether the active/subscribed products support PUI. * * @return bool - * @throws NotFoundException Should a setting not be found. */ public function pui_is_active() : bool { if ( is_bool( $this->current_status_cache ) ) {