Update copy-pasted docs

Fixes #5707
This commit is contained in:
JDGrimes 2014-06-19 15:43:05 -04:00
parent 49cf935906
commit 0d472cead5
4 changed files with 16 additions and 20 deletions

View File

@ -34,20 +34,19 @@ class WC_Checkout {
private $customer_id;
/**
* @var WooCommerce The single instance of the class
* @var WC_Checkout The single instance of the class
* @since 2.1
*/
protected static $_instance = null;
/**
* Main WooCommerce Instance
* Main WC_Checkout Instance
*
* Ensures only one instance of WooCommerce is loaded or can be loaded.
* Ensures only one instance of WC_Checkout is loaded or can be loaded.
*
* @since 2.1
* @static
* @see WC()
* @return Main WooCommerce instance
* @return WC_Checkout Main instance
*/
public static function instance() {
if ( is_null( self::$_instance ) )

View File

@ -37,20 +37,19 @@ class WC_Emails {
private $_content_type;
/**
* @var WooCommerce The single instance of the class
* @var WC_Emails The single instance of the class
* @since 2.1
*/
protected static $_instance = null;
/**
* Main WooCommerce Instance
* Main WC_Emails Instance
*
* Ensures only one instance of WooCommerce is loaded or can be loaded.
* Ensures only one instance of WC_Emails is loaded or can be loaded.
*
* @since 2.1
* @static
* @see WC()
* @return Main WooCommerce instance
* @return WC_Emails Main instance
*/
public static function instance() {
if ( is_null( self::$_instance ) )

View File

@ -16,20 +16,19 @@ class WC_Payment_Gateways {
var $payment_gateways;
/**
* @var WooCommerce The single instance of the class
* @var WC_Payment_Gateways The single instance of the class
* @since 2.1
*/
protected static $_instance = null;
/**
* Main WooCommerce Instance
* Main WC_Payment_Gateways Instance
*
* Ensures only one instance of WooCommerce is loaded or can be loaded.
* Ensures only one instance of WC_Payment_Gateways is loaded or can be loaded.
*
* @since 2.1
* @static
* @see WC()
* @return Main WooCommerce instance
* @return WC_Payment_Gateways Main instance
*/
public static function instance() {
if ( is_null( self::$_instance ) )

View File

@ -34,20 +34,19 @@ class WC_Shipping {
var $packages = array();
/**
* @var WooCommerce The single instance of the class
* @var WC_Shipping The single instance of the class
* @since 2.1
*/
protected static $_instance = null;
/**
* Main WooCommerce Instance
* Main WC_Shipping Instance
*
* Ensures only one instance of WooCommerce is loaded or can be loaded.
* Ensures only one instance of WC_Shipping is loaded or can be loaded.
*
* @since 2.1
* @static
* @see WC()
* @return Main WooCommerce instance
* @return WC_Shipping Main instance
*/
public static function instance() {
if ( is_null( self::$_instance ) )