Skip to content

Commit 4e4dad0

Browse files
authored
get_total_refunded should return a float
props. @phpstan
1 parent 3dc0fcb commit 4e4dad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/interfaces/class-wc-order-data-store-interface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface WC_Order_Data_Store_Interface {
2222
* Get amount already refunded.
2323
*
2424
* @param WC_Order $order Order object.
25-
* @return string
25+
* @return float
2626
*/
2727
public function get_total_refunded( $order );
2828

0 commit comments

Comments
 (0)