Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 348-350 (lines=3) @@
345
	private function get_content_range( $config ) {
346
		$range = array();
347
		// Only when we are sending the whole range do we want to send also the range.
348
		if ( true === isset( $config['posts'] ) && $config['posts'] ) {
349
			$range['posts'] = $this->get_range( 'posts' );
350
		}
351
352
		if ( true === isset( $config['comments'] ) && $config['comments'] ) {
353
			$range['comments'] = $this->get_range( 'comments' );
@@ 352-354 (lines=3) @@
349
			$range['posts'] = $this->get_range( 'posts' );
350
		}
351
352
		if ( true === isset( $config['comments'] ) && $config['comments'] ) {
353
			$range['comments'] = $this->get_range( 'comments' );
354
		}
355
		return $range;
356
	}
357