Skip to content

Commit

Permalink
methods don't return anything
Browse files Browse the repository at this point in the history
  • Loading branch information
SiR-DanieL committed Apr 8, 2015
1 parent 017c3b3 commit c8687d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/class-wc-validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static function is_GB_postcode( $to_check ) {
* @return string formatted postcode
*/
public static function format_postcode( $postcode, $country ) {
wc_format_postcode( $postcode, $country );
return wc_format_postcode( $postcode, $country );
}

/**
Expand All @@ -142,6 +142,6 @@ public static function format_postcode( $postcode, $country ) {
* @return string
*/
public static function format_phone( $tel ) {
wc_format_phone_number( $tel );
return wc_format_phone_number( $tel );
}
}

0 comments on commit c8687d3

Please sign in to comment.