Code Duplication    Length = 15-16 lines in 2 locations

core/db_classes/EE_Registration.class.php 2 locations

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