Code Duplication    Length = 6-6 lines in 2 locations

class-debug-bar-cron.php 2 locations

@@ 153-158 (lines=6) @@
150
151
				<h3>', esc_html__( 'Custom Events', 'zt-debug-bar-cron' ), '</h3>';
152
153
			if ( ! is_null( $this->_user_crons ) ) {
154
				$this->display_events( $this->_user_crons );
155
			} else {
156
				echo '
157
				<p>', esc_html__( 'No Custom Events scheduled.', 'zt-debug-bar-cron' ), '</p>';
158
			}
159
160
			echo '
161
				<h3>', esc_html__( 'Schedules', 'zt-debug-bar-cron' ), '</h3>';
@@ 168-173 (lines=6) @@
165
			echo '
166
				<h3>', esc_html__( 'Core Events', 'zt-debug-bar-cron' ), '</h3>';
167
168
			if ( ! is_null( $this->_core_crons ) ) {
169
				$this->display_events( $this->_core_crons );
170
			} else {
171
				echo '
172
				<p>', esc_html__( 'No Core Events scheduled.', 'zt-debug-bar-cron' ), '</p>';
173
			}
174
175
			echo '
176
			</div>';