mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
Remove unnecesary throw docblock
This commit is contained in:
parent
e5008603c9
commit
b7413b9adf
2 changed files with 3 additions and 4 deletions
|
@ -85,7 +85,7 @@ class PayUponInvoice {
|
|||
protected $state;
|
||||
|
||||
/**
|
||||
* The is ppcp settings page.
|
||||
* Whether the current page is the PPCP settings page.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
|
|
|
@ -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 ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue