Merge pull request #9954 from frozzare/docs/class-wc-report-customers

Improve docblock comments in WC_Report_Customers class
This commit is contained in:
Mike Jolley 2016-01-05 12:12:18 +00:00
commit c564a05ac3
1 changed files with 19 additions and 5 deletions

View File

@ -1,4 +1,9 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* WC_Report_Customers
*
@ -9,7 +14,18 @@
*/
class WC_Report_Customers extends WC_Admin_Report {
/**
* Chart colours.
*
* @var array
*/
public $chart_colours = array();
/**
* Customers.
*
* @var array
*/
public $customers = array();
/**
@ -30,7 +46,7 @@ class WC_Report_Customers extends WC_Admin_Report {
}
/**
* [get_chart_widgets description].
* Get chart widgets.
*
* @return array
*/
@ -46,7 +62,7 @@ class WC_Report_Customers extends WC_Admin_Report {
}
/**
* customers_vs_guests.
* Output customers vs guests chart.
*/
public function customers_vs_guests() {
@ -216,9 +232,7 @@ class WC_Report_Customers extends WC_Admin_Report {
}
/**
* Get the main chart.
*
* @return string
* Output the main chart.
*/
public function get_main_chart() {
global $wp_locale;