Remove unnecesary throw docblock

This commit is contained in:
dinamiko 2022-05-10 12:33:50 +02:00
parent e5008603c9
commit b7413b9adf
2 changed files with 3 additions and 4 deletions

View file

@ -85,7 +85,7 @@ class PayUponInvoice {
protected $state; protected $state;
/** /**
* The is ppcp settings page. * Whether the current page is the PPCP settings page.
* *
* @var bool * @var bool
*/ */

View file

@ -16,7 +16,7 @@ use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
use WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException; use WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException;
/** /**
* Class DccProductStatus * Class PayUponInvoiceProductStatus
*/ */
class PayUponInvoiceProductStatus { class PayUponInvoiceProductStatus {
@ -41,7 +41,7 @@ class PayUponInvoiceProductStatus {
private $partners_endpoint; private $partners_endpoint;
/** /**
* DccProductStatus constructor. * PayUponInvoiceProductStatus constructor.
* *
* @param Settings $settings The Settings. * @param Settings $settings The Settings.
* @param PartnersEndpoint $partners_endpoint The Partner Endpoint. * @param PartnersEndpoint $partners_endpoint The Partner Endpoint.
@ -58,7 +58,6 @@ class PayUponInvoiceProductStatus {
* Whether the active/subscribed products support PUI. * Whether the active/subscribed products support PUI.
* *
* @return bool * @return bool
* @throws NotFoundException Should a setting not be found.
*/ */
public function pui_is_active() : bool { public function pui_is_active() : bool {
if ( is_bool( $this->current_status_cache ) ) { if ( is_bool( $this->current_status_cache ) ) {