Code Duplication    Length = 3-3 lines in 2 locations

src/wp-includes/class-wp-customize-widgets.php 2 locations

@@ 1778-1780 (lines=3) @@
1775
			$this->sidebar_instance_count[ $index ] = 0;
1776
		}
1777
		$this->sidebar_instance_count[ $index ] += 1;
1778
		if ( ! $this->manager->selective_refresh->is_render_partials_request() ) {
1779
			printf( "\n<!--dynamic_sidebar_before:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) );
1780
		}
1781
	}
1782
1783
	/**
@@ 1795-1797 (lines=3) @@
1792
	 */
1793
	public function end_dynamic_sidebar( $index ) {
1794
		array_shift( $this->current_dynamic_sidebar_id_stack );
1795
		if ( ! $this->manager->selective_refresh->is_render_partials_request() ) {
1796
			printf( "\n<!--dynamic_sidebar_after:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) );
1797
		}
1798
	}
1799
1800
	/**