Code Duplication    Length = 6-6 lines in 2 locations

class-debug-bar-cron.php 2 locations

@@ 144-149 (lines=6) @@
141
142
				<h3>', esc_html__( 'Custom Events', 'zt-debug-bar-cron' ), '</h3>';
143
144
			if ( ! is_null( $this->_user_crons ) ) {
145
				$this->display_events( $this->_user_crons );
146
			} else {
147
				echo '
148
				<p>', esc_html__( 'No Custom Events scheduled.', 'zt-debug-bar-cron' ), '</p>';
149
			}
150
151
			echo '
152
				<h3>', esc_html__( 'Schedules', 'zt-debug-bar-cron' ), '</h3>';
@@ 159-164 (lines=6) @@
156
			echo '
157
				<h3>', esc_html__( 'Core Events', 'zt-debug-bar-cron' ), '</h3>';
158
159
			if ( ! is_null( $this->_core_crons ) ) {
160
				$this->display_events( $this->_core_crons );
161
			} else {
162
				echo '
163
				<p>', esc_html__( 'No Core Events scheduled.', 'zt-debug-bar-cron' ), '</p>';
164
			}
165
166
			echo '
167
			</div>';