Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 360-363 (lines=4) @@
357
		 */
358
359
		$filter_array = array( '1 = 1' );
360
		if ( null !== $range_from ) {
361
			// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
362
			$filter_array[] = $wpdb->prepare( "{$parent_prefix}{$this->range_field} >= %d", array( intval( $range_from ) ) );
363
		}
364
		if ( null !== $range_to ) {
365
			// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
366
			$filter_array[] = $wpdb->prepare( "{$parent_prefix}{$this->range_field} <= %d", array( intval( $range_to ) ) );
@@ 364-367 (lines=4) @@
361
			// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
362
			$filter_array[] = $wpdb->prepare( "{$parent_prefix}{$this->range_field} >= %d", array( intval( $range_from ) ) );
363
		}
364
		if ( null !== $range_to ) {
365
			// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
366
			$filter_array[] = $wpdb->prepare( "{$parent_prefix}{$this->range_field} <= %d", array( intval( $range_to ) ) );
367
		}
368
369
		/**
370
		 * End prepare the ranges.