Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 318-320 (lines=3) @@
315
	private function get_content_range( $config ) {
316
		$range = array();
317
		// Only when we are sending the whole range do we want to send also the range.
318
		if ( true === isset( $config['posts'] ) && $config['posts'] ) {
319
			$range['posts'] = $this->get_range( 'posts' );
320
		}
321
322
		if ( true === isset( $config['comments'] ) && $config['comments'] ) {
323
			$range['comments'] = $this->get_range( 'comments' );
@@ 322-324 (lines=3) @@
319
			$range['posts'] = $this->get_range( 'posts' );
320
		}
321
322
		if ( true === isset( $config['comments'] ) && $config['comments'] ) {
323
			$range['comments'] = $this->get_range( 'comments' );
324
		}
325
		return $range;
326
	}
327