Code Duplication    Length = 13-14 lines in 3 locations

admin_pages/registrations/Registrations_Admin_Page.core.php 3 locations

@@ 1546-1558 (lines=13) @@
1543
	 * @param        string $output
1544
	 * @return        string
1545
	 */
1546
	public function form_before_question_group( $output ) {
1547
		EE_Error::doing_it_wrong(
1548
			__CLASS__ . '::' . __FUNCTION__,
1549
			__( 'This method would have been protected but was used on a filter callback'
1550
				. 'so needed to be public. Please discontinue usage as it will be removed soon.',
1551
				'event_espresso' ),
1552
			'4.8.32.rc.000'
1553
		);
1554
		return '
1555
	<table class="form-table ee-width-100">
1556
		<tbody>
1557
			';
1558
	}
1559
1560
1561
@@ 1603-1616 (lines=14) @@
1600
	 * @param        string $label
1601
	 * @return        string
1602
	 */
1603
	public function form_form_field_label_wrap( $label ) {
1604
		EE_Error::doing_it_wrong(
1605
			__CLASS__ . '::' . __FUNCTION__,
1606
			__( 'This method would have been protected but was used on a filter callback'
1607
				. 'so needed to be public. Please discontinue usage as it will be removed soon.',
1608
				'event_espresso' ),
1609
			'4.8.32.rc.000'
1610
		);
1611
		return '
1612
			<tr>
1613
				<th>
1614
					' . $label  . '
1615
				</th>';
1616
	}
1617
1618
1619
@@ 1628-1641 (lines=14) @@
1625
	 * @param        string $input
1626
	 * @return        string
1627
	 */
1628
	public function form_form_field_input__wrap( $input ) {
1629
		EE_Error::doing_it_wrong(
1630
			__CLASS__ . '::' . __FUNCTION__,
1631
			__( 'This method would have been protected but was used on a filter callback'
1632
				. 'so needed to be public. Please discontinue usage as it will be removed soon.',
1633
				'event_espresso' ),
1634
			'4.8.32.rc.000'
1635
		);
1636
		return '
1637
				<td class="reg-admin-attendee-questions-input-td disabled-input">
1638
					' . $input . '
1639
				</td>
1640
			</tr>';
1641
	}
1642
1643
	/**
1644
	 * Updates the registration's custom questions according to the form info, if the form is submitted.