Code Duplication    Length = 15-16 lines in 2 locations

core/db_classes/EE_Registration.class.php 2 locations

@@ 922-937 (lines=16) @@
919
     * @throws EE_Error
920
     * @throws InvalidArgumentException
921
     */
922
    public function payment_overview_url($clear_session = false)
923
    {
924
        return add_query_arg(
925
            (array) apply_filters(
926
                'FHEE__EE_Registration__payment_overview_url__query_args',
927
                array(
928
                    'e_reg_url_link' => $this->reg_url_link(),
929
                    'step'           => 'payment_options',
930
                    'revisit'        => true,
931
                    'clear_session'  => (bool) $clear_session,
932
                ),
933
                $this
934
            ),
935
            EE_Registry::instance()->CFG->core->reg_page_url()
936
        );
937
    }
938
939
940
    /**
@@ 950-964 (lines=15) @@
947
     * @throws EE_Error
948
     * @throws InvalidArgumentException
949
     */
950
    public function edit_attendee_information_url()
951
    {
952
        return add_query_arg(
953
            (array) apply_filters(
954
                'FHEE__EE_Registration__edit_attendee_information_url__query_args',
955
                array(
956
                    'e_reg_url_link' => $this->reg_url_link(),
957
                    'step'           => 'attendee_information',
958
                    'revisit'        => true,
959
                ),
960
                $this
961
            ),
962
            EE_Registry::instance()->CFG->core->reg_page_url()
963
        );
964
    }
965
966
967
    /**