docblock corrections
This commit is contained in:
parent
1ef8a24ec9
commit
c814a9fa23
|
@ -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 ) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue