Code Duplication    Length = 3-3 lines in 2 locations

packages/sync/src/modules/Full_Sync.php 2 locations

@@ 376-378 (lines=3) @@
373
	private function get_content_range( $config ) {
374
		$range = array();
375
		// Only when we are sending the whole range do we want to send also the range.
376
		if ( true === isset( $config['posts'] ) && $config['posts'] ) {
377
			$range['posts'] = $this->get_range( 'posts' );
378
		}
379
380
		if ( true === isset( $config['comments'] ) && $config['comments'] ) {
381
			$range['comments'] = $this->get_range( 'comments' );
@@ 380-382 (lines=3) @@
377
			$range['posts'] = $this->get_range( 'posts' );
378
		}
379
380
		if ( true === isset( $config['comments'] ) && $config['comments'] ) {
381
			$range['comments'] = $this->get_range( 'comments' );
382
		}
383
		return $range;
384
	}
385