Code Duplication    Length = 3-3 lines in 2 locations

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

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