diff --git a/includes/abstracts/abstract-wc-email.php b/includes/abstracts/abstract-wc-email.php index 6b92deea3dd..c28293f6e8e 100644 --- a/includes/abstracts/abstract-wc-email.php +++ b/includes/abstracts/abstract-wc-email.php @@ -22,7 +22,7 @@ abstract class WC_Email extends WC_Settings_API { /** @var string Payment method title. */ var $title; - /** @var bool True if the method is enabled. */ + /** @var string 'yes' if the method is enabled. */ var $enabled; /** @var string Description for the gateway. */ diff --git a/includes/abstracts/abstract-wc-payment-gateway.php b/includes/abstracts/abstract-wc-payment-gateway.php index ac3c5b0b6e4..e106a44d3c8 100644 --- a/includes/abstracts/abstract-wc-payment-gateway.php +++ b/includes/abstracts/abstract-wc-payment-gateway.php @@ -34,7 +34,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { /** @var string Available for all counties or specific. */ var $availability; - /** @var bool True if the method is enabled. */ + /** @var string 'yes' if the method is enabled. */ var $enabled; /** @var string Icon for the gateway. */