From b9b9f3a49e34f8c11b0300d767f9c3703f9649aa Mon Sep 17 00:00:00 2001 From: Coen Jacobs Date: Mon, 4 Nov 2013 11:29:20 +0100 Subject: [PATCH] Fixed docs for enabled params (string, not bool), closes #4052 --- includes/abstracts/abstract-wc-email.php | 2 +- includes/abstracts/abstract-wc-payment-gateway.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. */