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
|
* @since 2.1
|
||||||
* @param string $email the customer email
|
* @param string $email the customer email
|
||||||
* @param string $fields
|
* @param array $fields
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function get_customer_by_email( $email, $fields = null ) {
|
public function get_customer_by_email( $email, $fields = null ) {
|
||||||
|
|
|
@ -277,7 +277,7 @@ class WC_API_Reports extends WC_API_Resource {
|
||||||
case 'day' :
|
case 'day' :
|
||||||
$time = date( 'Y-m-d', strtotime( "+{$i} DAY", $this->report->start_date ) );
|
$time = date( 'Y-m-d', strtotime( "+{$i} DAY", $this->report->start_date ) );
|
||||||
break;
|
break;
|
||||||
case 'month' :
|
default :
|
||||||
$time = date( 'Y-m', strtotime( "+{$i} MONTH", $this->report->start_date ) );
|
$time = date( 'Y-m', strtotime( "+{$i} MONTH", $this->report->start_date ) );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ class WC_API_Webhooks extends WC_API_Resource {
|
||||||
* Get all webhooks
|
* Get all webhooks
|
||||||
*
|
*
|
||||||
* @since 2.2
|
* @since 2.2
|
||||||
* @param string $fields
|
* @param array $fields
|
||||||
* @param array $filter
|
* @param array $filter
|
||||||
* @param int $page
|
* @param int $page
|
||||||
* @return array
|
* @return array
|
||||||
|
|
Loading…
Reference in New Issue