Improve docblock comments in WC_Settings_* classes
* Added comments to properties that don’t have any.
This commit is contained in:
parent
ade2b04ab3
commit
72f062b452
|
@ -19,7 +19,18 @@ if ( ! class_exists( 'WC_Settings_Page' ) ) :
|
||||||
*/
|
*/
|
||||||
abstract class WC_Settings_Page {
|
abstract class WC_Settings_Page {
|
||||||
|
|
||||||
protected $id = '';
|
/**
|
||||||
|
* Setting page id.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $id = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setting page label.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $label = '';
|
protected $label = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -19,6 +19,11 @@ if ( ! class_exists( 'WC_Settings_Tax' ) ) :
|
||||||
*/
|
*/
|
||||||
class WC_Settings_Tax extends WC_Settings_Page {
|
class WC_Settings_Tax extends WC_Settings_Page {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Setting page id.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $id = 'tax';
|
protected $id = 'tax';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue