From 783a965df3f54cd4568718d3ae9f80b46b194fe6 Mon Sep 17 00:00:00 2001 From: Faizan Akram Date: Wed, 21 Aug 2019 19:41:05 +0530 Subject: [PATCH] fixes bug in InvoiceInterface --- src/Qbil/Models/InvoiceInterface.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Qbil/Models/InvoiceInterface.php b/src/Qbil/Models/InvoiceInterface.php index 352cb62..eae6b3a 100644 --- a/src/Qbil/Models/InvoiceInterface.php +++ b/src/Qbil/Models/InvoiceInterface.php @@ -6,10 +6,7 @@ interface InvoiceInterface { - /** - * @return InvoiceLineInterface[] - */ - public function addInvoiceLine(); + public function addInvoiceLine(InvoiceLineInterface $invoiceLine); public function getRelation(); public function getSubsidiary(); public function getSupplierInvoiceNumber(); @@ -20,6 +17,9 @@ public function getDueDate(); public function getCurrency(); public function getTheirVatRegistration(); public function getOurVatRegistration(); + /** + * @return InvoiceLineInterface[] + */ public function getInvoiceLines(); public function getOrder(); public function getContract();