Code Duplication    Length = 3-3 lines in 2 locations

includes/payments/class-payment-stats.php 2 locations

@@ 130-132 (lines=3) @@
127
			);
128
		}
129
130
		if ( ! empty( $args['meta_query'] ) && 1 < count( $args['meta_query'] ) ) {
131
			$args['meta_query']['relation'] = 'AND';
132
		}
133
134
		$args = apply_filters( 'give_stats_earnings_args', $args );
135
		$key  = Give_Cache::get_key( 'give_stats', $args );
@@ 255-257 (lines=3) @@
252
			);
253
		}
254
255
		if ( ! empty( $args['meta_query'] ) && 1 < count( $args['meta_query'] ) ) {
256
			$args['meta_query']['relation'] = 'AND';
257
		}
258
259
		$args = apply_filters( 'give_stats_earnings_args', $args );
260
		$key  = Give_Cache::get_key( 'give_stats', $args );