docblock corrections

This commit is contained in:
Mike Jolley 2015-02-03 14:44:53 +00:00
parent 1ef8a24ec9
commit c814a9fa23
3 changed files with 3 additions and 3 deletions

View File

@ -200,7 +200,7 @@ class WC_API_Customers extends WC_API_Resource {
*
* @since 2.1
* @param string $email the customer email
* @param string $fields
* @param array $fields
* @return array
*/
public function get_customer_by_email( $email, $fields = null ) {

View File

@ -277,7 +277,7 @@ class WC_API_Reports extends WC_API_Resource {
case 'day' :
$time = date( 'Y-m-d', strtotime( "+{$i} DAY", $this->report->start_date ) );
break;
case 'month' :
default :
$time = date( 'Y-m', strtotime( "+{$i} MONTH", $this->report->start_date ) );
break;
}

View File

@ -63,7 +63,7 @@ class WC_API_Webhooks extends WC_API_Resource {
* Get all webhooks
*
* @since 2.2
* @param string $fields
* @param array $fields
* @param array $filter
* @param int $page
* @return array