Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1717-1719 (lines=3) @@
1714
			$this->sidebar_instance_count[ $index ] = 0;
1715
		}
1716
		$this->sidebar_instance_count[ $index ] += 1;
1717
		if ( ! $this->manager->selective_refresh->is_render_partials_request() ) {
1718
			printf( "\n<!--dynamic_sidebar_before:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) );
1719
		}
1720
	}
1721
1722
	/**
@@ 1734-1736 (lines=3) @@
1731
	 */
1732
	public function end_dynamic_sidebar( $index ) {
1733
		array_shift( $this->current_dynamic_sidebar_id_stack );
1734
		if ( ! $this->manager->selective_refresh->is_render_partials_request() ) {
1735
			printf( "\n<!--dynamic_sidebar_after:%s:%d-->\n", esc_html( $index ), intval( $this->sidebar_instance_count[ $index ] ) );
1736
		}
1737
	}
1738
1739
	/**