From 4e4dad0581fed0d3661493f75415aebff70cb5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 21 Apr 2019 21:36:31 +0200 Subject: [PATCH] get_total_refunded should return a float props. @phpstan --- includes/interfaces/class-wc-order-data-store-interface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/interfaces/class-wc-order-data-store-interface.php b/includes/interfaces/class-wc-order-data-store-interface.php index a49219eb7ee..4727b9eb181 100644 --- a/includes/interfaces/class-wc-order-data-store-interface.php +++ b/includes/interfaces/class-wc-order-data-store-interface.php @@ -22,7 +22,7 @@ interface WC_Order_Data_Store_Interface { * Get amount already refunded. * * @param WC_Order $order Order object. - * @return string + * @return float */ public function get_total_refunded( $order );