Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1738-1740 (lines=3) @@
1735
				// Show shipping excluding tax.
1736
				$shipping = wc_price( $this->get_shipping_total(), array( 'currency' => $this->get_currency() ) );
1737
1738
				if ( (float) $this->get_shipping_tax() > 0 && $this->get_prices_include_tax() ) {
1739
					$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 );
1740
				}
1741
			} else {
1742
1743
				// Show shipping including tax.
@@ 1746-1748 (lines=3) @@
1743
				// Show shipping including tax.
1744
				$shipping = wc_price( $this->get_shipping_total() + $this->get_shipping_tax(), array( 'currency' => $this->get_currency() ) );
1745
1746
				if ( (float) $this->get_shipping_tax() > 0 && ! $this->get_prices_include_tax() ) {
1747
					$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 );
1748
				}
1749
			}
1750
1751
			/* translators: %s: method */