small fixes

Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
envoyr committed 2025-04-30 06:43:07 +02:00
1 parent 5b2b3c72cc
commit 71663bffd8
9 files changed
+63 -12

No files matched your search

+2 -2
View File
@@ -17,9 +17,9 @@ trait ManagesInvoices
* @throws RequestRequiresClientIdException
* @throws GuzzleException
*/
public function invoices(): Invoices
public function invoices(array $parameters = []): Invoices
{
return (new Invoices($this->request('GET', 'v1/invoices')))
return (new Invoices($this->request('GET', 'v1/invoices', [], $parameters)))
->setBillable($this);
}
}