Code Duplication    Length = 15-16 lines in 2 locations

core/db_classes/EE_Registration.class.php 2 locations

@@ 947-962 (lines=16) @@
944
     * @throws EE_Error
945
     * @throws InvalidArgumentException
946
     */
947
    public function payment_overview_url($clear_session = false)
948
    {
949
        return add_query_arg(
950
            (array) apply_filters(
951
                'FHEE__EE_Registration__payment_overview_url__query_args',
952
                array(
953
                    'e_reg_url_link' => $this->reg_url_link(),
954
                    'step'           => 'payment_options',
955
                    'revisit'        => true,
956
                    'clear_session'  => (bool) $clear_session,
957
                ),
958
                $this
959
            ),
960
            EE_Registry::instance()->CFG->core->reg_page_url()
961
        );
962
    }
963
964
965
    /**
@@ 975-989 (lines=15) @@
972
     * @throws EE_Error
973
     * @throws InvalidArgumentException
974
     */
975
    public function edit_attendee_information_url()
976
    {
977
        return add_query_arg(
978
            (array) apply_filters(
979
                'FHEE__EE_Registration__edit_attendee_information_url__query_args',
980
                array(
981
                    'e_reg_url_link' => $this->reg_url_link(),
982
                    'step'           => 'attendee_information',
983
                    'revisit'        => true,
984
                ),
985
                $this
986
            ),
987
            EE_Registry::instance()->CFG->core->reg_page_url()
988
        );
989
    }
990
991
992
    /**