Code Duplication    Length = 3-3 lines in 2 locations

packages/sync/src/replicastore/class-table-checksum.php 2 locations

@@ 295-297 (lines=3) @@
292
		 */
293
294
		$filter_array = array();
295
		if ( $range_from !== null ) {
296
			$filter_array[] = $wpdb->prepare( "{$this->range_field} >= %d", array( intval( $range_from ) ) );
297
		}
298
		if ( $range_to !== null ) {
299
			$filter_array[] = $wpdb->prepare( "{$this->range_field} <= %d", array( intval( $range_to ) ) );
300
		}
@@ 298-300 (lines=3) @@
295
		if ( $range_from !== null ) {
296
			$filter_array[] = $wpdb->prepare( "{$this->range_field} >= %d", array( intval( $range_from ) ) );
297
		}
298
		if ( $range_to !== null ) {
299
			$filter_array[] = $wpdb->prepare( "{$this->range_field} <= %d", array( intval( $range_to ) ) );
300
		}
301
302
		/**
303
		 * End prepare the ranges.