diff --git a/tasks/phpstan/bootstrap.php b/tasks/phpstan/bootstrap.php index 6273e86bca..a44f3e4a5e 100644 --- a/tasks/phpstan/bootstrap.php +++ b/tasks/phpstan/bootstrap.php @@ -24,6 +24,13 @@ function wc_price(float $price, array $args = []): string { return ''; } +/** + * @return string + */ +function get_woocommerce_currency() { + return ''; +} + function wc_get_product($the_product = false, $deprecated = array()) { return null; }