From c7ab50ec7e11ea60f890d25f4b5263b6df3d34f6 Mon Sep 17 00:00:00 2001 From: Fredrik Forsmo Date: Tue, 5 Jan 2016 16:49:41 +0100 Subject: [PATCH] Add missing param tags to various wc admin docblocks --- includes/admin/reports/class-wc-report-customer-list.php | 4 ++++ includes/admin/wc-admin-functions.php | 1 + 2 files changed, 5 insertions(+) diff --git a/includes/admin/reports/class-wc-report-customer-list.php b/includes/admin/reports/class-wc-report-customer-list.php index 5eeb8021792..dd1d3f024e0 100644 --- a/includes/admin/reports/class-wc-report-customer-list.php +++ b/includes/admin/reports/class-wc-report-customer-list.php @@ -222,6 +222,8 @@ class WC_Report_Customer_List extends WP_List_Table { /** * Get columns. + * + * @return array */ public function get_columns() { $columns = array( @@ -240,6 +242,8 @@ class WC_Report_Customer_List extends WP_List_Table { /** * Order users by name. + * + * @param WP_User_Query $query */ public function order_by_last_name( $query ) { global $wpdb; diff --git a/includes/admin/wc-admin-functions.php b/includes/admin/wc-admin-functions.php index d36d86a9c8a..73252387bf3 100644 --- a/includes/admin/wc-admin-functions.php +++ b/includes/admin/wc-admin-functions.php @@ -159,6 +159,7 @@ function woocommerce_update_options( $options ) { * Get a setting from the settings API. * * @param mixed $option_name + * @param mixed $default * @return string */ function woocommerce_settings_get_option( $option_name, $default = '' ) {