Fix warnings "PHP Deprecated: Creation of dynamic property".
This commit is contained in:
parent
56b63ada60
commit
d428a51606
|
@ -23,6 +23,20 @@ class WC_WCCOM_Site_Installation_Manager {
|
|||
'activate_product',
|
||||
);
|
||||
|
||||
/**
|
||||
* The product ID.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
protected $product_id;
|
||||
|
||||
/**
|
||||
* The idempotency key.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $idempotency_key;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
@ -15,6 +15,13 @@ defined( 'ABSPATH' ) || exit;
|
|||
* WC_WCCOM_Site_Installation_Step_Activate_Product Class
|
||||
*/
|
||||
class WC_WCCOM_Site_Installation_Step_Activate_Product implements WC_WCCOM_Site_Installation_Step {
|
||||
/**
|
||||
* The current installation state.
|
||||
*
|
||||
* @var WC_WCCOM_Site_Installation_State
|
||||
*/
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
@ -15,6 +15,13 @@ defined( 'ABSPATH' ) || exit;
|
|||
* WC_WCCOM_Site_Installation_Step_Download_Product class
|
||||
*/
|
||||
class WC_WCCOM_Site_Installation_Step_Download_Product implements WC_WCCOM_Site_Installation_Step {
|
||||
/**
|
||||
* The current installation state.
|
||||
*
|
||||
* @var WC_WCCOM_Site_Installation_State
|
||||
*/
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
@ -15,6 +15,13 @@ defined( 'ABSPATH' ) || exit;
|
|||
* WC_WCCOM_Site_Installation_Step_Get_Product_Info class
|
||||
*/
|
||||
class WC_WCCOM_Site_Installation_Step_Get_Product_Info implements WC_WCCOM_Site_Installation_Step {
|
||||
/**
|
||||
* The current installation state.
|
||||
*
|
||||
* @var WC_WCCOM_Site_Installation_State
|
||||
*/
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
@ -12,6 +12,13 @@ defined( 'ABSPATH' ) || exit;
|
|||
* WC_WCCOM_Site_Installation_Step_Move_Product class
|
||||
*/
|
||||
class WC_WCCOM_Site_Installation_Step_Move_Product implements WC_WCCOM_Site_Installation_Step {
|
||||
/**
|
||||
* The current installation state.
|
||||
*
|
||||
* @var WC_WCCOM_Site_Installation_State
|
||||
*/
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
@ -15,6 +15,13 @@ defined( 'ABSPATH' ) || exit;
|
|||
* WC_WCCOM_Site_Installation_Step_Unpack_Product class
|
||||
*/
|
||||
class WC_WCCOM_Site_Installation_Step_Unpack_Product implements WC_WCCOM_Site_Installation_Step {
|
||||
/**
|
||||
* The current installation state.
|
||||
*
|
||||
* @var WC_WCCOM_Site_Installation_State
|
||||
*/
|
||||
protected $state;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue