Fixed docs for enabled params (string, not bool), closes #4052

This commit is contained in:
Coen Jacobs 2013-11-04 11:29:20 +01:00
parent c58621f3f8
commit b9b9f3a49e
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ abstract class WC_Email extends WC_Settings_API {
/** @var string Payment method title. */ /** @var string Payment method title. */
var $title; var $title;
/** @var bool True if the method is enabled. */ /** @var string 'yes' if the method is enabled. */
var $enabled; var $enabled;
/** @var string Description for the gateway. */ /** @var string Description for the gateway. */

View File

@ -34,7 +34,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
/** @var string Available for all counties or specific. */ /** @var string Available for all counties or specific. */
var $availability; var $availability;
/** @var bool True if the method is enabled. */ /** @var string 'yes' if the method is enabled. */
var $enabled; var $enabled;
/** @var string Icon for the gateway. */ /** @var string Icon for the gateway. */