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:
commit
d2b02db128
|
@ -91,5 +91,4 @@ class Coupons extends \WC_REST_Coupons_Controller {
|
|||
|
||||
return $where;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -45,5 +45,4 @@ class Data extends \WC_REST_Data_Controller {
|
|||
);
|
||||
return $response;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -25,5 +25,4 @@ class DataCountries extends \WC_REST_Data_Countries_Controller {
|
|||
* @var string
|
||||
*/
|
||||
protected $namespace = 'wc/v4';
|
||||
|
||||
}
|
||||
|
|
|
@ -24,5 +24,4 @@ class ProductCategories extends \WC_REST_Product_Categories_Controller {
|
|||
* @var string
|
||||
*/
|
||||
protected $namespace = 'wc/v4';
|
||||
|
||||
}
|
||||
|
|
|
@ -318,5 +318,4 @@ class Controller extends \Automattic\WooCommerce\Admin\API\Reports\Controller {
|
|||
|
||||
return $params;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -54,5 +54,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_customers_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1031,5 +1031,4 @@ class DataStore {
|
|||
}
|
||||
return $operator;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -426,5 +426,4 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
|
|||
|
||||
return $order_by;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -47,5 +47,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_downloads_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -202,5 +202,4 @@ class DataStore extends DownloadsDataStore implements DataStoreInterface {
|
|||
|
||||
return $order_by;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -41,5 +41,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_orders_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -494,5 +494,4 @@ class Controller extends \Automattic\WooCommerce\Admin\API\Reports\Controller {
|
|||
|
||||
return $params;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -48,5 +48,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_products_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -244,5 +244,4 @@ class DataStore extends ProductsDataStore implements DataStoreInterface {
|
|||
|
||||
return $order_by;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -65,5 +65,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_revenue_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -29,5 +29,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data();
|
||||
return apply_filters( 'woocommerce_reports_stock_stats_query', $results );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -47,5 +47,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_taxes_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -48,5 +48,4 @@ class Query extends ReportsQuery {
|
|||
$results = $data_store->get_data( $args );
|
||||
return apply_filters( 'woocommerce_reports_variations_select_query', $results, $args );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -25,5 +25,4 @@ class SettingOptions extends \WC_REST_Setting_Options_Controller {
|
|||
* @var string
|
||||
*/
|
||||
protected $namespace = 'wc/v4';
|
||||
|
||||
}
|
||||
|
|
|
@ -389,5 +389,4 @@ class DataStore extends \WC_Data_Store_WP implements \WC_Object_Data_Store_Inter
|
|||
)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue