Code Duplication    Length = 3-3 lines in 2 locations

includes/abstracts/abstract-wc-order.php 2 locations

@@ 2639-2641 (lines=3) @@
2636
                // Show shipping excluding tax.
2637
                $shipping = wc_price( $this->order_shipping, array('currency' => $this->get_order_currency()) );
2638
2639
                if ( $this->order_shipping_tax != 0 && $this->prices_include_tax ) {
2640
                    $shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', '&nbsp;<small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display );
2641
                }
2642
2643
            } else {
2644
@@ 2648-2650 (lines=3) @@
2645
                // Show shipping including tax.
2646
                $shipping = wc_price( $this->order_shipping + $this->order_shipping_tax, array('currency' => $this->get_order_currency()) );
2647
2648
                if ( $this->order_shipping_tax != 0 && ! $this->prices_include_tax ) {
2649
                    $shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', '&nbsp;<small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display );
2650
                }
2651
2652
            }
2653