coding standard

This commit is contained in:
Ewout Fernhout 2019-07-11 17:21:56 +02:00
parent 8b51f55856
commit 0b69a19401
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ class WC_Tax {
* @return string
*/
public static function get_rate_percent( $key_or_rate ) {
$rate_percent_value = self::get_rate_percent_value( $key_or_rate );
$rate_percent_value = self::get_rate_percent_value( $key_or_rate );
$tax_rate_id = is_object( $key_or_rate ) ? $key_or_rate->tax_rate_id : $key_or_rate;
return apply_filters( 'woocommerce_rate_percent', $rate_percent_value . '%', $tax_rate_id );
}