Code Duplication    Length = 3-3 lines in 2 locations

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

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