From 54c49eb8c58fd4ccffa9532004e236a1e97abe23 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Wed, 5 Jul 2023 01:38:31 -0400 Subject: [PATCH] Add comment on return value for compute. #744 --- src/InvoiceRuleInterface.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/InvoiceRuleInterface.php b/src/InvoiceRuleInterface.php index 2de47dd7..46f0d015 100644 --- a/src/InvoiceRuleInterface.php +++ b/src/InvoiceRuleInterface.php @@ -11,5 +11,6 @@ interface InvoiceRuleInterface public function validateInvoiceItems($criteria, $invoice_items); // compute + // this returns an array of items or empty array public function compute($criteria, &$total); }