Improve docblock comments in WC_Settings_* classes

* Added comments to properties that don’t have any.
This commit is contained in:
Fredrik Forsmo 2016-01-05 16:22:18 +01:00
parent ade2b04ab3
commit 72f062b452
2 changed files with 17 additions and 1 deletions

View File

@ -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 = '';
/** /**

View File

@ -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';
/** /**