Code Duplication    Length = 2-2 lines in 2 locations

includes/class-wc-checkout.php 2 locations

@@ 787-788 (lines=2) @@
784
			}
785
786
			switch ( $input ) {
787
				case 'billing_country' :
788
					return apply_filters( 'default_checkout_country', WC()->customer->get_country() ? WC()->customer->get_country() : WC()->countries->get_base_country(), 'billing' );
789
				case 'billing_state' :
790
					return apply_filters( 'default_checkout_state', WC()->customer->has_calculated_shipping() ? WC()->customer->get_state() : '', 'billing' );
791
				case 'billing_postcode' :
@@ 793-794 (lines=2) @@
790
					return apply_filters( 'default_checkout_state', WC()->customer->has_calculated_shipping() ? WC()->customer->get_state() : '', 'billing' );
791
				case 'billing_postcode' :
792
					return apply_filters( 'default_checkout_postcode', WC()->customer->get_postcode() ? WC()->customer->get_postcode() : '', 'billing' );
793
				case 'shipping_country' :
794
					return apply_filters( 'default_checkout_country', WC()->customer->get_shipping_country() ? WC()->customer->get_shipping_country() : WC()->countries->get_base_country(), 'shipping' );
795
				case 'shipping_state' :
796
					return apply_filters( 'default_checkout_state', WC()->customer->has_calculated_shipping() ? WC()->customer->get_shipping_state() : '', 'shipping' );
797
				case 'shipping_postcode' :