Code Duplication    Length = 13-14 lines in 3 locations

admin_pages/registrations/Registrations_Admin_Page.core.php 3 locations

@@ 1555-1567 (lines=13) @@
1552
	 * @param        string $output
1553
	 * @return        string
1554
	 */
1555
	public function form_before_question_group( $output ) {
1556
		EE_Error::doing_it_wrong(
1557
			__CLASS__ . '::' . __FUNCTION__,
1558
			__( 'This method would have been protected but was used on a filter callback'
1559
				. 'so needed to be public. Please discontinue usage as it will be removed soon.',
1560
				'event_espresso' ),
1561
			'4.8.32.rc.000'
1562
		);
1563
		return '
1564
	<table class="form-table ee-width-100">
1565
		<tbody>
1566
			';
1567
	}
1568
1569
1570
@@ 1612-1625 (lines=14) @@
1609
	 * @param        string $label
1610
	 * @return        string
1611
	 */
1612
	public function form_form_field_label_wrap( $label ) {
1613
		EE_Error::doing_it_wrong(
1614
			__CLASS__ . '::' . __FUNCTION__,
1615
			__( 'This method would have been protected but was used on a filter callback'
1616
				. 'so needed to be public. Please discontinue usage as it will be removed soon.',
1617
				'event_espresso' ),
1618
			'4.8.32.rc.000'
1619
		);
1620
		return '
1621
			<tr>
1622
				<th>
1623
					' . $label  . '
1624
				</th>';
1625
	}
1626
1627
1628
@@ 1637-1650 (lines=14) @@
1634
	 * @param        string $input
1635
	 * @return        string
1636
	 */
1637
	public function form_form_field_input__wrap( $input ) {
1638
		EE_Error::doing_it_wrong(
1639
			__CLASS__ . '::' . __FUNCTION__,
1640
			__( 'This method would have been protected but was used on a filter callback'
1641
				. 'so needed to be public. Please discontinue usage as it will be removed soon.',
1642
				'event_espresso' ),
1643
			'4.8.32.rc.000'
1644
		);
1645
		return '
1646
				<td class="reg-admin-attendee-questions-input-td disabled-input">
1647
					' . $input . '
1648
				</td>
1649
			</tr>';
1650
	}
1651
1652
	/**
1653
	 * Updates the registration's custom questions according to the form info, if the form is submitted.