Changed $namespace from public to protected

This commit is contained in:
Claudio Sanches 2016-03-31 15:25:31 -03:00
parent 00a1a9c3da
commit 92da79ce76
20 changed files with 20 additions and 20 deletions

View File

@ -27,7 +27,7 @@ class WC_REST_Coupons_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Customer_Downloads_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Customers_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Order_Notes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Order_Refunds_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Orders_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Attribute_Terms_Controller extends WC_REST_Terms_Controlle
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Attributes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Categories_Controller extends WC_REST_Terms_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Reviews_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Shipping_Classes_Controller extends WC_REST_Terms_Controll
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Product_Tags_Controller extends WC_REST_Terms_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Products_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Report_Sales_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Report_Top_Sellers_Controller extends WC_REST_Report_Sales_Control
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Reports_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Tax_Classes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Taxes_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Webhook_Deliveries_Controller extends WP_REST_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.

View File

@ -27,7 +27,7 @@ class WC_REST_Webhooks_Controller extends WC_REST_Posts_Controller {
*
* @var string
*/
public $namespace = 'wc/v1';
protected $namespace = 'wc/v1';
/**
* Route base.