Merge pull request woocommerce/woocommerce-admin#2898 from woocommerce/cleanup/end-of-class-files

indent cleanup, remove blank line before class closing brace
This commit is contained in:
Jeff Stieler 2019-09-19 11:10:30 -07:00 committed by GitHub
commit d2b02db128
32 changed files with 14 additions and 45 deletions

View File

@ -91,5 +91,4 @@ class Coupons extends \WC_REST_Coupons_Controller {
return $where;
}
}

View File

@ -45,5 +45,4 @@ class Data extends \WC_REST_Data_Controller {
);
return $response;
}
}

View File

@ -25,5 +25,4 @@ class DataCountries extends \WC_REST_Data_Countries_Controller {
* @var string
*/
protected $namespace = 'wc/v4';
}

View File

@ -24,5 +24,4 @@ class ProductCategories extends \WC_REST_Product_Categories_Controller {
* @var string
*/
protected $namespace = 'wc/v4';
}

View File

@ -318,5 +318,4 @@ class Controller extends \Automattic\WooCommerce\Admin\API\Reports\Controller {
return $params;
}
}

View File

@ -334,5 +334,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
protected function get_cache_key( $params ) {
return 'woocommerce_' . self::TABLE_NAME . '_' . md5( wp_json_encode( $params ) );
}
}

View File

@ -48,5 +48,4 @@ class Query extends ReportsQuery {
$results = \WC_Data_Store::load( self::REPORT_NAME )->get_data( $args );
return apply_filters( 'woocommerce_reports_categories_select_query', $results, $args );
}
}

View File

@ -734,5 +734,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
protected function get_cache_key( $params ) {
return 'woocommerce_' . self::TABLE_NAME . '_' . md5( wp_json_encode( $params ) );
}
}

View File

@ -54,5 +54,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_customers_select_query', $results, $args );
}
}

View File

@ -54,5 +54,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_customers_stats_select_query', $results, $args );
}
}

View File

@ -1031,5 +1031,4 @@ class DataStore {
}
return $operator;
}
}

View File

@ -426,5 +426,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
return $order_by;
}
}

View File

@ -47,5 +47,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_downloads_select_query', $results, $args );
}
}

View File

@ -202,5 +202,4 @@ class DataStore extends DownloadsDataStore implements DataStoreInterface {
return $order_by;
}
}

View File

@ -37,5 +37,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_downloads_stats_select_query', $results, $args );
}
}

View File

@ -432,5 +432,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
protected function get_cache_key( $params ) {
return 'woocommerce_' . self::TABLE_NAME . '_' . md5( wp_json_encode( $params ) );
}
}

View File

@ -41,5 +41,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_orders_select_query', $results, $args );
}
}

View File

@ -494,5 +494,4 @@ class Controller extends \Automattic\WooCommerce\Admin\API\Reports\Controller {
return $params;
}
}

View File

@ -61,5 +61,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_orders_stats_select_query', $results, $args );
}
}

View File

@ -48,5 +48,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_products_select_query', $results, $args );
}
}

View File

@ -244,5 +244,4 @@ class DataStore extends ProductsDataStore implements DataStoreInterface {
return $order_by;
}
}

View File

@ -23,5 +23,4 @@ abstract class Query extends \WC_Object_Query {
/* translators: %s: Method name */
return new \WP_Error( 'invalid-method', sprintf( __( "Method '%s' not implemented. Must be overridden in subclass.", 'woocommerce-admin' ), __METHOD__ ), array( 'status' => 405 ) );
}
}

View File

@ -65,5 +65,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_revenue_select_query', $results, $args );
}
}

View File

@ -29,5 +29,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data();
return apply_filters( 'woocommerce_reports_stock_stats_query', $results );
}
}

View File

@ -47,5 +47,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_taxes_select_query', $results, $args );
}
}

View File

@ -294,5 +294,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
protected function get_cache_key( $params ) {
return 'woocommerce_' . self::TABLE_NAME . '_stats_' . md5( wp_json_encode( $params ) );
}
}

View File

@ -48,5 +48,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_taxes_stats_select_query', $results, $args );
}
}

View File

@ -364,5 +364,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
protected function get_cache_key( $params ) {
return 'woocommerce_' . self::TABLE_NAME . '_' . md5( wp_json_encode( $params ) );
}
}

View File

@ -48,5 +48,4 @@ class Query extends ReportsQuery {
$results = $data_store->get_data( $args );
return apply_filters( 'woocommerce_reports_variations_select_query', $results, $args );
}
}

View File

@ -25,5 +25,4 @@ class SettingOptions extends \WC_REST_Setting_Options_Controller {
* @var string
*/
protected $namespace = 'wc/v4';
}

View File

@ -389,5 +389,4 @@ class DataStore extends \WC_Data_Store_WP implements \WC_Object_Data_Store_Inter
)
);
}
}