From b72908dca9766be9c717a27d2f2e0d1d1e3e847d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jakes=CC=8C?= Date: Mon, 6 May 2019 09:10:35 +0200 Subject: [PATCH] Add method stub for PHPStan [MAILPOET-1853] --- tasks/phpstan/bootstrap.php | 7 +++++++ 1 file changed, 7 insertions(+) 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; }